summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2017-04-01 00:48:40 +0200
committerRay <[email protected]>2017-04-01 00:48:40 +0200
commit0a33fbf8bb3b774cdd78a0c2f4373436e0edb600 (patch)
tree2b70e48a548ac08e4e283e70fcda4924df6dfd59
parent9724443c5b415ec06a0ad12f379a7cd352814342 (diff)
downloadraylib-0a33fbf8bb3b774cdd78a0c2f4373436e0edb600.tar.gz
raylib-0a33fbf8bb3b774cdd78a0c2f4373436e0edb600.zip
Corrected TraceLog issue
-rw-r--r--src/utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils.c b/src/utils.c
index 649fda4f..c86c9c82 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -44,6 +44,9 @@
*
**********************************************************************************************/
+#define SUPPORT_TRACELOG // Output tracelog messages
+//#define SUPPORT_TRACELOG_DEBUG // Avoid DEBUG messages tracing
+
#include "utils.h"
#if defined(PLATFORM_ANDROID)
@@ -65,9 +68,6 @@
#define RRES_IMPLEMENTATION
#include "rres.h"
-//#define NO_TRACELOG // Avoid TraceLog() output (any type)
-#define DO_NOT_TRACE_DEBUG_MSGS // Avoid DEBUG messages tracing
-
//----------------------------------------------------------------------------------
// Global Variables Definition
//----------------------------------------------------------------------------------
@@ -94,10 +94,10 @@ void TraceLog(int msgType, const char *text, ...)
{
#if defined(SUPPORT_TRACELOG)
static char buffer[128];
- int traceDebugMsgs = 1;
+ int traceDebugMsgs = 0;
#if defined(SUPPORT_TRACELOG_DEBUG)
- traceDebugMsgs = 0;
+ traceDebugMsgs = 1;
#endif
switch(msgType)