projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated BlackBerry references to make note of the change from FREEGLUT_GLES2/1 to...
[freeglut]
/
src
/
egl
/
fg_state_egl.c
diff --git
a/src/egl/fg_state_egl.c
b/src/egl/fg_state_egl.c
index
2890d00
..
c83ec30
100644
(file)
--- a/
src/egl/fg_state_egl.c
+++ b/
src/egl/fg_state_egl.c
@@
-33,7
+33,7
@@
static int fgPlatformGetConfig( int attribute )
{
int returnValue = 0;
static int fgPlatformGetConfig( int attribute )
{
int returnValue = 0;
- int result; /* Not checked */
+ int result __fg_unused; /* Not checked */
if( fgStructure.CurrentWindow )
result = eglGetConfigAttrib( fgDisplay.pDisplay.egl.Display,
if( fgStructure.CurrentWindow )
result = eglGetConfigAttrib( fgDisplay.pDisplay.egl.Display,
@@
-88,6
+88,9
@@
int fghPlatformGlutGetEGL ( GLenum eWhat )
return 0;
return fgPlatformGetConfig( EGL_NATIVE_VISUAL_ID );
return 0;
return fgPlatformGetConfig( EGL_NATIVE_VISUAL_ID );
+ case GLUT_WINDOW_DOUBLEBUFFER:
+ return 1; /* EGL is always double-buffered */
+
default:
fgWarning( "glutGet(): missing enum handle %d", eWhat );
break;
default:
fgWarning( "glutGet(): missing enum handle %d", eWhat );
break;