Moved #ifdef for non XFree86 X11 compile.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@176 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
241a32bfe0
commit
9c2c2a07ff
@ -132,6 +132,8 @@ void fghRememberState( void )
|
|||||||
void fghRestoreState( void )
|
void fghRestoreState( void )
|
||||||
{
|
{
|
||||||
#if TARGET_HOST_UNIX_X11
|
#if TARGET_HOST_UNIX_X11
|
||||||
|
|
||||||
|
# ifdef X_XF86VidModeGetAllModeLines
|
||||||
/*
|
/*
|
||||||
* Restore the remembered pointer position:
|
* Restore the remembered pointer position:
|
||||||
*/
|
*/
|
||||||
@ -143,7 +145,6 @@ void fghRestoreState( void )
|
|||||||
/*
|
/*
|
||||||
* This highly depends on the XFree86 extensions, not approved as X Consortium standards
|
* This highly depends on the XFree86 extensions, not approved as X Consortium standards
|
||||||
*/
|
*/
|
||||||
# ifdef X_XF86VidModeGetAllModeLines
|
|
||||||
|
|
||||||
if (fgDisplay.DisplayModeValid)
|
if (fgDisplay.DisplayModeValid)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user