mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-22 10:42:11 -04:00
enable global debug
This commit is contained in:
parent
e366e41d87
commit
daef7170b9
@ -6,7 +6,7 @@
|
||||
|
||||
#include "mg.h"
|
||||
|
||||
#define GLOBAL_DEBUG 0
|
||||
#define GLOBAL_DEBUG 1
|
||||
|
||||
#define LOG() if(DEBUG||GLOBAL_DEBUG) {__android_log_print(ANDROID_LOG_DEBUG, RENDERERNAME, "Use function: %s", __FUNCTION__);printf("Use function: %s\n", __FUNCTION__);write_log("Use function: %s\n", __FUNCTION__);}
|
||||
#define LOG_D(...) if(DEBUG||GLOBAL_DEBUG) {__android_log_print(ANDROID_LOG_DEBUG, RENDERERNAME, __VA_ARGS__);printf(__VA_ARGS__);printf("\n\n");write_log(__VA_ARGS__);}
|
||||
|
Loading…
x
Reference in New Issue
Block a user