Merge branch 'svn/trunk'
This commit is contained in:
commit
944cdf1b8b
@ -176,6 +176,9 @@ void fgPlatformInitialize( const char* displayName )
|
|||||||
if( fgDisplay.pDisplay.Display == NULL )
|
if( fgDisplay.pDisplay.Display == NULL )
|
||||||
fgError( "failed to open display '%s'", XDisplayName( displayName ) );
|
fgError( "failed to open display '%s'", XDisplayName( displayName ) );
|
||||||
|
|
||||||
|
if ( fgState.XSyncSwitch )
|
||||||
|
XSynchronize(fgDisplay.pDisplay.Display, True);
|
||||||
|
|
||||||
#ifdef EGL_VERSION_1_0
|
#ifdef EGL_VERSION_1_0
|
||||||
fghPlatformInitializeEGL();
|
fghPlatformInitializeEGL();
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user