jsmithown
01-12-2011, 11:19 AM
I have two questions. I'm using GLUT and GLEW.
1) Why does it not allow me to enter fullscreen at the resolution specified?
To enter fullscreen, I use the following routines:
glutGameModeString("640x480:16@120");
glutEnterGameMode();
But, it seems like it's entering fullscreen at my desktop resolution (1280x720).
2) If that can't be changed, how can I prevent fullscreen from impacting performance on a lower resolution viewport?
I enter fullscreen at 1280x720, then set the viewport to 640x480. However, rendering is much slower than in windowed mode at that resolution. I thought that since the majority of the window area is black, it would render faster at fullscreen with a smaller viewport.
1) Why does it not allow me to enter fullscreen at the resolution specified?
To enter fullscreen, I use the following routines:
glutGameModeString("640x480:16@120");
glutEnterGameMode();
But, it seems like it's entering fullscreen at my desktop resolution (1280x720).
2) If that can't be changed, how can I prevent fullscreen from impacting performance on a lower resolution viewport?
I enter fullscreen at 1280x720, then set the viewport to 640x480. However, rendering is much slower than in windowed mode at that resolution. I thought that since the majority of the window area is black, it would render faster at fullscreen with a smaller viewport.