[Issue#]
[Problem]
[Cause] Dlogutil doesn't work clearly, and some logs missing...
[Solution]
- Now uses printf instead dlog when debug mode (COREGL_DEBUG is enabled)
- Until ES3.0 is complete supported and stabilized?
#define LOG_TAG "CoreGL"
#include <dlog.h>
+///////////////////////////////////////
+// Disable dlog for debugging urgent issues //
+#ifdef COREGL_DEBUG
+# undef LOGE
+# define LOGE printf
+# undef LOGW
+# define LOGW printf
+# undef LOGD
+# define LOGD printf
+#endif
+///////////////////////////////////////
+
# define COREGL_ERR(...) \
LOGE(" "__VA_ARGS__)
# define COREGL_WRN(...) \