From: Borislav T. <bd...@sh...> - 2007-06-21 18:37:32
|
Yes, it's fullscreen mode. When it does the switch, it's supposed to change the resolution to whatever the string specifies in the glutGameModeString call previously. Fay John F Dr CTR USAF 46 SK wrote: > Borislav, > > I've tried a bit at work in odd moments and cannot get it to go > into game mode at all--at least not recognizably. (Isn't game mode > supposed to take over the whole screen? I thought it did and this is > not happening on my work machine.) I think it has something to do with > firewall protections here. I haven't been able to try it at home yet. > > John F. Fay > Technical Fellow > Jacobs Technology TEAS Group > 850-883-1294 > > -----Original Message----- > From: fre...@li... > [mailto:fre...@li...] On Behalf Of > Borislav Trifonov > Sent: Thursday, June 21, 2007 12:06 PM > To: fre...@li... > Subject: Re: [Freeglut-bugs] FW: glutEnterGameMode does not change > resolution inWindows XP > > Hi, just wondering if you had time to check this out. > > > Fay John F Dr CTR USAF 46 SK wrote: >> Not sure. Let me try this at home. >> >> John F. Fay >> Technical Fellow >> Jacobs Technology TEAS Group >> 850-883-1294 >> >> -----Original Message----- >> From: fre...@li... >> [mailto:fre...@li...] On Behalf Of >> Borislav Trifonov >> Sent: Monday, June 18, 2007 4:09 PM >> To: fre...@li... >> Subject: Re: [Freeglut-bugs] glutEnterGameMode does not change >> resolution inWindows XP >> >> ChangeDisplaySettingsEx returns DISP_CHANGE_SUCCESSFUL during the >> CDS_TEST pass, but then the call to EnumDisplaySettings returns the >> current resolution, not the one that was tested; next pass with >> CDS_FULLSCREEN sets this current resolution... How should I deal with >> this? >> When I try on the notebook which has 1280x800 by default, it doesn't >> even work, giving me >> "freeglut (Cube_newLib.exe): The graphics mode is not supported. >> Cannot enter 0012FECC fullscreen mode" >> GLUT works fine in both cases though. >> >> By the way, I tried to reply directly to your email address, but I got > >> an error with server rejecting FROM addres. >> >> >> Fay John F Dr CTR USAF 46 SK wrote: >>> Prune, >>> >>> I'm not sure what is happening with your specific application. >>> If you have an IDE (such as MSVC) you can link to the debug version > of >>> "freeglut" and step into the functions to see what is going on. The >>> code for "glutGameModeString" is in "freeglut_gamemode.c" starting >>> around line 381 and the "glutEnterGameMode" function is the next >>> function in the same file. A brief look at the code does not reveal >>> anything obvious in Windows, although there are some comments about >>> needing some XFree86 extensions for it to work in X. >>> >>> Please let me know what you find or if you don't find anything. >>> I can take a quick look at it if you come up empty but my day job is >>> keeping me quite busy at the moment. >>> >>> John F. Fay >>> Technical Fellow >>> Jacobs Technology TEAS Group >>> 850-883-1294 >>> >>> -----Original Message----- >>> From: fre...@li... >>> [mailto:fre...@li...] On Behalf Of >> Prune >>> Sent: Sunday, June 17, 2007 4:07 PM >>> To: fre...@li... >>> Subject: [Freeglut-bugs] glutEnterGameMode does not change resolution >>> inWindows XP >>> >>> >>> glutGameModeString("1280x800:32"); >>> glutEnterGameMode(); >>> >>> Using glut, resolution is changed. Using freeglut, it's not, > although >>> the >>> call doesn't fail. What's going on here? This is the case with any >>> resolution the system accepts, so the same thing with say 640x480. >>> Someone had posted a while ago (see link below) they had the same >>> problem >>> under X, and was told it's due to the window manager. Well, I'm > using >>> Windows XP, with the same problem, thus it has nothing to do with >> that. >>> So >>> how do I get this to work? It is important for my project that I am >>> able to >>> change the resolution. >>> >>> > http://www.nabble.com/glutEnterGameMode-does-not-change-X-resolution-tf6 >>> 49753.html >> >> > ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Freeglut-bugs mailing list >> Fre...@li... >> https://lists.sourceforge.net/lists/listinfo/freeglut-bugs >> >> > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Freeglut-bugs mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-bugs > > |