hi
is there a way to set the highest resolution like the SDL function in Glut or freeglut?
in SDL, there is a funciton that allows one to define the resolution of the screen as the following statement shown:
screen = SDL_SetVedop_mode(sreenwidth, screenheight, 32, SDL_SWSURFACE);
the 32 bits is to set the bit of higher resolution.
what happened was that when i open a window with glutInitWindowSize(600, 600), the window covers almost all the vertical space of my 1920x1080 pixels screen. for 600x600 window, it should covers only 1/3 of the vertical length. because of the low resolution, the graphics that generated was not as fine as i wanted. any idea? i tried to query the glut and found the resolution to be 1080x720. please help.
thanks
how to set hd resolution in Glut?
Started by nickme, Feb 04 2012 12:37 AM
No replies to this topic


















