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:
David 'Digit' Turner
2011-08-23 16:59:35 +02:00
parent cecb6a0e36
commit 47cbdfb291
4 changed files with 17 additions and 5 deletions

View File

@@ -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