X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_state_egl.c;h=cea0405fc69812db6f66393888ebde9791e7aa1e;hb=af47c3f93c7834b4006c49ec9df6a6ffdd3025de;hp=59fc9c9d5be12069cb50ed95cfff8a95d7c915c1;hpb=026a20d0a52fc7922f694171616f0291c9b0514c;p=freeglut diff --git a/src/egl/fg_state_egl.c b/src/egl/fg_state_egl.c index 59fc9c9..cea0405 100644 --- a/src/egl/fg_state_egl.c +++ b/src/egl/fg_state_egl.c @@ -82,12 +82,15 @@ int fghPlatformGlutGetEGL ( GLenum eWhat ) return fghChooseConfig(&config); } - /* This is system-dependant */ + /* This is system-dependent */ case GLUT_WINDOW_FORMAT_ID: if( fgStructure.CurrentWindow == NULL ) 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;