Removed the annoying "Unable to create direct context rendering..." warning,
it served no real purpose, and on some platforms there simply is no such thing as a direct context. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@753 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
ee19720b42
commit
e8ffbcc5d3
@ -707,9 +707,6 @@ void fgOpenWindow( SFG_Window* window, const char* title,
|
|||||||
if( fgState.DirectContext == GLUT_FORCE_DIRECT_CONTEXT )
|
if( fgState.DirectContext == GLUT_FORCE_DIRECT_CONTEXT )
|
||||||
fgError( "Unable to force direct context rendering for window '%s'",
|
fgError( "Unable to force direct context rendering for window '%s'",
|
||||||
title );
|
title );
|
||||||
else if( fgState.DirectContext == GLUT_TRY_DIRECT_CONTEXT )
|
|
||||||
fgWarning( "Unable to create direct context rendering for window '%s'\nThis may hurt performance.",
|
|
||||||
title );
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user