diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk index 24e4c19a588ffb9b56de00e2d33a19896a4f6194..d8dc99fdf50b50c9af1be30415a108df59f4376a 100644 --- a/opengl/libs/Android.mk +++ b/opengl/libs/Android.mk @@ -39,6 +39,8 @@ LOCAL_SHARED_LIBRARIES += libdl LOCAL_C_INCLUDES += bionic/libc/private LOCAL_CFLAGS += -DLOG_TAG=\"libEGL\" +#define the flag to debug egl_config +#LOCAL_CFLAGS += -DEGL_Config_Debug LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES LOCAL_CFLAGS += -fvisibility=hidden diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp index b172f80d053767764fb4ffc81ea5952eab711a92..74ff98905972d5328ea8622773f61786756ca696 100644 --- a/opengl/libs/EGL/eglApi.cpp +++ b/opengl/libs/EGL/eglApi.cpp @@ -62,9 +62,6 @@ using namespace android; #define ENABLE_EGL_ANDROID_GET_FRAME_TIMESTAMPS 0 -#if 1 -#define EGL_Config_Debug -#endif // ----------------------------------------------------------------------------