projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EGL is always double-buffered
[freeglut]
/
src
/
egl
/
fg_state_egl.c
diff --git
a/src/egl/fg_state_egl.c
b/src/egl/fg_state_egl.c
index
59fc9c9
..
c83ec30
100644
(file)
--- a/
src/egl/fg_state_egl.c
+++ b/
src/egl/fg_state_egl.c
@@
-88,6
+88,9
@@
int fghPlatformGlutGetEGL ( GLenum eWhat )
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;