   GlutGameMode fullscreen with bad colour depth
  Hey guys,This is sort of a strange post, as I don't have much to document with.Anyway, I have an opengl application which when run in windowed modeappears as 32 bit, just like my windows desktop colour depth.When I switch to fullscreen with glutEnterGameMode though, it's notthat convincing. It appears as 16 bit, as the smooth gradient of coloursare fit into more coarse levels.Do you have any experience with this? I use an fbo too, but asthe windowed mode looks alright, I thought it would be something alse.Please, post any thoghts on this. I'm puzzled.   
  I don't have much experience with glut, but is it possible that maybe your system can't support a larger resolution at a larger color depth (not enough fb memory or something), and glut is failing over into a mode with lower graphics setting?A quick google search turns up this, maybe you could use some combination of these to figure out what is happening on your system:Quote:To see what you are working with, simply use the glutGameModeGet function. The single arguement specifies what you are trying to get. Here's a list of possible arguements.ArguementDescription    GLUT_GAME_MODE_ACTIVEWhether game mode is active.    GLUT_GAME_MODE_POSSIBLEWhether game mode is possible.    GLUT_GAME_MODE_WIDTHThe game mode screen width (ex. 640 pixels).    GLUT_GAME_MODE_HEIGHTThe game mode screen height (ex. 480 pixels).    GLUT_GAME_MODE_PIXEL_DEPTHThe game mode pixel depth (ex. 16bits).    GLUT_GAME_MODE_REFRESH_RATEThe game mode screen pixel depth (ex. 60Hz).    GLUT_GAME_MODE_DISPLAY_CHANGEDWhether game mode changed the display.    ;  Thanks karwosts,I'll try getting those and maybe they'll tell me something.My system must support this: 800x600:32, I play modern games in 32 bit,in resolutions of 1680x1050, which is the native resolution of my monitor.I think it's either my FBO or something else -basic.Or perhaps it's because I disable vsyng via a wgl call, I dunno.I'll try some more stuff too. Thanks anyway!   ;  Huh!That's interesting. Okay it's late and i'm probably both blind and stupid by this hour.So perhaps someone can tell me what i'm doing wrong here, maybe it'smy enter_gamemode function:void enter_fullscreen(){game_mode_string = generate_game_mode_string(window_width, window_height, 32, 60);glutGameModeString(game_mode_string.c_str());cout << "The current gamemode is " << glutGameModeGet(GLUT_GAME_MODE_WIDTH) << "x" << glutGameModeGet(GLUT_GAME_MODE_HEIGHT) << "x"  << glutGameModeGet(GLUT_GAME_MODE_PIXEL_DEPTH) << "@" << glutGameModeGet(GLUT_GAME_MODE_REFRESH_RATE) << "." << endl;if(glutGameModeGet(GLUT_GAME_MODE_POSSIBLE)){cout << "This full screen mode is supported." << endl;glutDestroyWindow(glut_window_hWnd);glutExit();int argc = 1;char arg = 99;char *argp = &arg;char **argv = &argp;glutInit(&argc, argv);glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);GLeeInit();glutEnterGameMode();fullscreen = true;init_gl_callbacks();init_non_vital();cout << "Game mode is active: " << glutGameModeGet(GLUT_GAME_MODE_ACTIVE) << endl;cout << "The current gamemode is (still?) " << glutGameModeGet(GLUT_GAME_MODE_WIDTH) << "x" << glutGameModeGet(GLUT_GAME_MODE_HEIGHT) << "x"  << glutGameModeGet(GLUT_GAME_MODE_PIXEL_DEPTH) << "@" << glutGameModeGet(GLUT_GAME_MODE_REFRESH_RATE) << "." << endl;cout << "Game mode changed the display: " << glutGameModeGet(GLUT_GAME_MODE_DISPLAY_CHANGED) << endl;glutMainLoop();}else{cout << "This full screen mode is not supported." << endl;}}From this i get:The current gamemode is 800x600x32@60.This full screen mode is supported.Game mode is active: 1The current gamemode is (still?) 640x480x16@72.Game mode changed the display: 1EDIT: Ok, I just tried to output the info before the init_gl_callbacks() and init_non_vital(), which didn't describe and would therefore be the prime suspects.It's still the same result, though. -Are there some of the vital glut functionsabove that I'm not supposed to call?   ;  Sorry folks, this is really driving me nuts.It appears that even though the GAME MODE POSSIBLE seems alright,the game mode parametres represents the initial screen modeeven after glutEnterGameMode has been called.Some of you guys must be familiar with fullscreen modes such as this.What do you do? Perhaps glutGameMode isn't even the right way to go?   ;  If you're not set on using glut you may want to try a newer library like SFML, or I hear good things about freeglut, which are both in active development. GLUT is pretty old and I think hasn't been updated since 2001.Unfortunately I don't have any idea what might be causing your issue, but I just wanted to throw this out there.   ;  Hey karwosts,Thanks for the info. I'm already using freeglut, though.The rest of my application is centered around this,and I don't hope for it to change at this point.I will on the other hand look for freeglut-specific waysto go fullscreen, although I thought freeglut had improvedon the original glut functions such as glutGameMode & Co.   