Removed nonstandard #warning constructs. Converted to XXX comments.
(These are warnings about gamemode features not working the same on some systems as on others. The semantics of gamemode are dubious, since it was never formally documented, and has for a long time worked in different ways on different systems, so it is arguable that there is nothing really wrong with systems that don't support resolution-changes.) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@468 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
517a32d77d
commit
15c7f0ba24
@ -101,7 +101,10 @@ void fghRememberState( void )
|
|||||||
fgWarning( "Runtime use of XF86VidModeGetModeLine failed.\n" );
|
fgWarning( "Runtime use of XF86VidModeGetModeLine failed.\n" );
|
||||||
|
|
||||||
# else
|
# else
|
||||||
# warning fghRememberState: missing XFree86 video mode extensions, game mode will not change screen resolution when activated
|
/*
|
||||||
|
* XXX warning fghRememberState: missing XFree86 video mode extensions,
|
||||||
|
* XXX game mode will not change screen resolution when activated
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#elif TARGET_HOST_WIN32
|
#elif TARGET_HOST_WIN32
|
||||||
@ -195,7 +198,10 @@ void fghRestoreState( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
# else
|
# else
|
||||||
# warning fghRestoreState: missing XFree86 video mode extensions, game mode will not change screen resolution when activated
|
/*
|
||||||
|
* XXX warning fghRestoreState: missing XFree86 video mode extensions,
|
||||||
|
* XXX game mode will not change screen resolution when activated
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#elif TARGET_HOST_WIN32
|
#elif TARGET_HOST_WIN32
|
||||||
@ -282,7 +288,10 @@ GLboolean fghChangeDisplayMode( GLboolean haveToTest )
|
|||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
|
||||||
# else
|
# else
|
||||||
# warning fghChangeDisplayMode: missing XFree86 video mode extensions, game mode will not change screen resolution when activated
|
/*
|
||||||
|
* XXX warning fghChangeDisplayMode: missing XFree86 video mode extensions,
|
||||||
|
* XXX game mode will not change screen resolution when activated
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#elif TARGET_HOST_WIN32
|
#elif TARGET_HOST_WIN32
|
||||||
|
Reference in New Issue
Block a user