From: Sylvain Beucler Date: Sun, 15 Apr 2012 18:46:38 +0000 (+0000) Subject: Remove a couple printf's X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=sidebyside;h=e5cd5f98d651aad9c265e569db6188fb0378aeeb;hp=8b89204d87959df0470d88af985a385e1ff28b59;p=freeglut Remove a couple printf's git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1240 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/android/fg_runtime_android.c b/src/android/fg_runtime_android.c index e83c2d3..13f2e86 100644 --- a/src/android/fg_runtime_android.c +++ b/src/android/fg_runtime_android.c @@ -23,7 +23,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* Parts taken from Android NDK's 'native-activity' sample : */ +/* Parts taken from Android NDK's 'native-activity' sample: */ /* * Copyright (C) 2010 The Android Open Source Project * diff --git a/src/android/fg_window_android.c b/src/android/fg_window_android.c index 1b064cf..58d612a 100644 --- a/src/android/fg_window_android.c +++ b/src/android/fg_window_android.c @@ -40,14 +40,14 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title, GLboolean sizeUse, int w, int h, GLboolean gameMode, GLboolean isSubWindow ) { - printf("fgPlatformOpenWindow %p ID=%d\n", (void*)window, window->ID); + // printf("fgPlatformOpenWindow %p ID=%d\n", (void*)window, window->ID); /* TODO: only one full-screen window possible? */ static int nb_windows = 0; if (nb_windows == 0) { nb_windows++; fgDisplay.pDisplay.single_window = window; - printf("=> %p ID=%d\n", (void*)fgDisplay.pDisplay.single_window, fgDisplay.pDisplay.single_window->ID); + // printf("=> %p ID=%d\n", (void*)fgDisplay.pDisplay.single_window, fgDisplay.pDisplay.single_window->ID); } else { return; } @@ -76,8 +76,8 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title, EGLint vid; eglGetConfigAttrib(display, window->Window.pContext.egl.Config, EGL_NATIVE_VISUAL_ID, &vid); - ANativeWindow_setBuffersGeometry(window->Window.Handle, 0, 0, vid); + fghPlatformOpenWindowEGL(window); window->State.Visible = GL_TRUE;