Corrected TraceLog issue
This commit is contained in:
parent
9724443c5b
commit
0a33fbf8bb
1 changed files with 5 additions and 5 deletions
10
src/utils.c
10
src/utils.c
|
@ -44,6 +44,9 @@
|
||||||
*
|
*
|
||||||
**********************************************************************************************/
|
**********************************************************************************************/
|
||||||
|
|
||||||
|
#define SUPPORT_TRACELOG // Output tracelog messages
|
||||||
|
//#define SUPPORT_TRACELOG_DEBUG // Avoid DEBUG messages tracing
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#if defined(PLATFORM_ANDROID)
|
#if defined(PLATFORM_ANDROID)
|
||||||
|
@ -65,9 +68,6 @@
|
||||||
#define RRES_IMPLEMENTATION
|
#define RRES_IMPLEMENTATION
|
||||||
#include "rres.h"
|
#include "rres.h"
|
||||||
|
|
||||||
//#define NO_TRACELOG // Avoid TraceLog() output (any type)
|
|
||||||
#define DO_NOT_TRACE_DEBUG_MSGS // Avoid DEBUG messages tracing
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Global Variables Definition
|
// Global Variables Definition
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
|
@ -94,10 +94,10 @@ void TraceLog(int msgType, const char *text, ...)
|
||||||
{
|
{
|
||||||
#if defined(SUPPORT_TRACELOG)
|
#if defined(SUPPORT_TRACELOG)
|
||||||
static char buffer[128];
|
static char buffer[128];
|
||||||
int traceDebugMsgs = 1;
|
int traceDebugMsgs = 0;
|
||||||
|
|
||||||
#if defined(SUPPORT_TRACELOG_DEBUG)
|
#if defined(SUPPORT_TRACELOG_DEBUG)
|
||||||
traceDebugMsgs = 0;
|
traceDebugMsgs = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch(msgType)
|
switch(msgType)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue