Improved error message a bit when no suitable visual could be found

(X11 only).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@556 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
spanne 2005-01-03 12:42:09 +00:00
parent d52d41a3e3
commit 2e4ddfd047
2 changed files with 4 additions and 1 deletions

View File

@ -888,3 +888,6 @@ default.
(230) Removed acconfig.h, it is deprecated and we don't need it. (230) Removed acconfig.h, it is deprecated and we don't need it.
(231) Cleaned up and autoconf'd the header inclusion story a bit. (231) Cleaned up and autoconf'd the header inclusion story a bit.
(232) Improved error message a bit when no suitable visual could be found
(X11 only).

View File

@ -302,7 +302,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
} }
FREEGLUT_INTERNAL_ERROR_EXIT( window->Window.VisualInfo != NULL, FREEGLUT_INTERNAL_ERROR_EXIT( window->Window.VisualInfo != NULL,
"Unable to get window visual info", "fgOpenWindow" ); "Visual with necessary capabilities not found", "fgOpenWindow" );
/* /*
* XXX HINT: the masks should be updated when adding/removing callbacks. * XXX HINT: the masks should be updated when adding/removing callbacks.