From 6ba33936f9189f3ff6dc59c281a1bf034eb81c11 Mon Sep 17 00:00:00 2001 From: beuc Date: Thu, 3 May 2012 07:55:19 +0000 Subject: [PATCH] GLUT_WINDOW_BORDER_* is about borders, not inner size (thanks again Dee) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1287 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/android/fg_state_android.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freeglut/freeglut/src/android/fg_state_android.c b/freeglut/freeglut/src/android/fg_state_android.c index b011765..bd2b034 100644 --- a/freeglut/freeglut/src/android/fg_state_android.c +++ b/freeglut/freeglut/src/android/fg_state_android.c @@ -64,11 +64,9 @@ int fgPlatformGlutGet ( GLenum eWhat ) /* One full-screen window only */ case GLUT_WINDOW_X: case GLUT_WINDOW_Y: - return 0; case GLUT_WINDOW_BORDER_WIDTH: - return fgPlatformGlutGet(GLUT_WINDOW_WIDTH); case GLUT_WINDOW_HEADER_HEIGHT: - return fgPlatformGlutGet(GLUT_WINDOW_HEIGHT); + return 0; case GLUT_WINDOW_WIDTH: case GLUT_WINDOW_HEIGHT: