/*
- * freeglut_init_x11.c
+ * fg_init_x11.c
*
* Various freeglut initialization functions.
*
if( fgDisplay.pDisplay.Display == NULL )
fgError( "failed to open display '%s'", XDisplayName( displayName ) );
+ if ( fgState.XSyncSwitch )
+ XSynchronize(fgDisplay.pDisplay.Display, True);
+
#ifdef EGL_VERSION_1_0
fghPlatformInitializeEGL();
#else