From e8ffbcc5d39463f28029f88591fa39c00045d941 Mon Sep 17 00:00:00 2001 From: spanne Date: Wed, 5 Nov 2008 18:24:43 +0000 Subject: [PATCH] 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 --- freeglut/freeglut/src/freeglut_window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_window.c b/freeglut/freeglut/src/freeglut_window.c index cd66c40..ab81121 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/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