Fixing bug [ 1111218 ] fullscreen not working

Better late than never.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@586 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2005-04-27 17:27:20 +00:00
parent 819c712006
commit b16eb7cc2f

View File

@ -350,7 +350,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
mask = CWBackPixmap | CWBorderPixel | CWColormap | CWEventMask;
if( window->IsMenu )
if( window->IsMenu || ( gameMode == GL_TRUE ) )
{
winAttr.override_redirect = True;
mask |= CWOverrideRedirect;