typofixes - https://github.com/vlajos/misspell_fixer
[freeglut] / src / egl / fg_state_egl.c
index 59fc9c9..cea0405 100644 (file)
@@ -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;