emulator: opengl: remove debug traces.
You can still re-enable them by uncommenting one line in development/tools/emulator/opengl/Android.mk Change-Id: Ie0a640b6f3359b437aba40b124da0892defb00ef
This commit is contained in:
@@ -19,11 +19,19 @@
|
||||
#if (HAVE_ANDROID_OS == 1)
|
||||
# include <cutils/log.h>
|
||||
# define ERR(...) LOGE(__VA_ARGS__)
|
||||
# define DBG(...) LOGD(__VA_ARGS__)
|
||||
# ifdef EMUGL_DEBUG
|
||||
# define DBG(...) LOGD(__VA_ARGS__)
|
||||
# else
|
||||
# define DBG(...) ((void)0)
|
||||
# endif
|
||||
#else
|
||||
# include <stdio.h>
|
||||
# define ERR(...) fprintf(stderr, __VA_ARGS__)
|
||||
# define DBG(...) fprintf(stderr, __VA_ARGS__)
|
||||
# ifdef EMUGL_DEBUG
|
||||
# define DBG(...) fprintf(stderr, __VA_ARGS__)
|
||||
# else
|
||||
# define DBG(...) ((void)0)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user