From: Sven Panne Date: Wed, 5 Nov 2008 18:24:43 +0000 (+0000) Subject: Removed the annoying "Unable to create direct context rendering..." warning, X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=01daa72d4e0e48d7c312b6a5ed053070b5da8ee5;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@753 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index cd66c40..ab81121 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -707,9 +707,6 @@ void fgOpenWindow( SFG_Window* window, const char* title, if( fgState.DirectContext == GLUT_FORCE_DIRECT_CONTEXT ) fgError( "Unable to force direct context rendering for window '%s'", 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