X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_state_egl.c;fp=src%2Fegl%2Ffg_state_egl.c;h=c83ec30fb3e55c57ed44c3bfbba8066e8d145d39;hb=5ad986faebb7567081885408f90f6ced0554543c;hp=59fc9c9d5be12069cb50ed95cfff8a95d7c915c1;hpb=bec0ee0bbc5f56d92dfe6d9fffd689ff4dd4f929;p=freeglut diff --git a/src/egl/fg_state_egl.c b/src/egl/fg_state_egl.c index 59fc9c9..c83ec30 100644 --- 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;