From 6bc5a5c4013d9208e00faba808b8c6c203ff1f6d Mon Sep 17 00:00:00 2001 From: beuc Date: Sat, 17 Mar 2012 14:14:01 +0000 Subject: [PATCH] Remove Android-specific code (logging) in fg_display_egl git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1180 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/egl/fg_display_egl.c | 4 ---- freeglut/freeglut/src/egl/fg_window_egl.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/freeglut/freeglut/src/egl/fg_display_egl.c b/freeglut/freeglut/src/egl/fg_display_egl.c index 4bf3283..896b61a 100644 --- a/freeglut/freeglut/src/egl/fg_display_egl.c +++ b/freeglut/freeglut/src/egl/fg_display_egl.c @@ -26,12 +26,8 @@ #include #include "fg_internal.h" -#include -#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "FreeGLUT", __VA_ARGS__)) - void fgPlatformGlutSwapBuffers( SFG_PlatformDisplay *pDisplayPtr, SFG_Window* CurrentWindow ) { - /* LOGI("Swap!"); */ if (!eglSwapBuffers(pDisplayPtr->egl.Display, CurrentWindow->Window.pContext.egl.Surface)) fgError("eglSwapBuffers: error %x\n", eglGetError()); } diff --git a/freeglut/freeglut/src/egl/fg_window_egl.c b/freeglut/freeglut/src/egl/fg_window_egl.c index 48e330c..ad0ee22 100644 --- a/freeglut/freeglut/src/egl/fg_window_egl.c +++ b/freeglut/freeglut/src/egl/fg_window_egl.c @@ -50,7 +50,7 @@ int fghChooseConfigEGL(EGLConfig* config) { EGLint num_config; if (!eglChooseConfig(fgDisplay.pDisplay.egl.Display, attribs, config, 1, &num_config)) { - fgWarn("eglChooseConfig: error %x\n", eglGetError()); + fgWarning("eglChooseConfig: error %x\n", eglGetError()); return 0; }