/* -- GLOBAL VARIABLES ----------------------------------------------------- */
/*
- * A structure pointed by g_pDisplay holds all information
+ * A structure pointed by fgDisplay holds all information
* regarding the display, screen, root window etc.
*/
SFG_Display fgDisplay;
/* -- INTERFACE FUNCTIONS -------------------------------------------------- */
+#if !TARGET_HOST_POSIX_X11
+# include "../Common/xparsegeometry_repl.h"
+#endif
/*
* Perform initialization. This usually happens on the program startup
fgPlatformInitialize( displayName );
/*
- * Geometry parsing deffered until here because we may need the screen
+ * Geometry parsing deferred until here because we may need the screen
* size.
*/
configuration is conformant or not */
break ;
- case 6 : /* "depth": Number of bits of precsion in the depth buffer */
+ case 6 : /* "depth": Number of bits of precision in the depth buffer */
glut_state_flag |= GLUT_DEPTH ; /* Somebody fix this for me! */
break ;
break ;
case 35 : /* "borderless": windows should not have borders */
-#if TARGET_HOST_POSIX_X11
-#endif
+ glut_state_flag |= GLUT_BORDERLESS;
break ;
case 36 : /* "aux": some number of aux buffers */
void FGAPIENTRY glutInitContextVersion( int majorVersion, int minorVersion )
{
- /* We will make use of these valuse when creating a new OpenGL context... */
+ /* We will make use of these value when creating a new OpenGL context... */
fgState.MajorVersion = majorVersion;
fgState.MinorVersion = minorVersion;
}
fgState.WarningFunc = vfgWarning;
}
-/*** END OF FILE ***/
+/*** END OF FILE ***/
\ No newline at end of file