
fullscreen with glut.h library
hi @all
how can i make my openGL program in fullscreen mode?
i have the glut-commands:
void display(void) {
...
}
int main(int argc, char** argv) {
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize(500, 500);
glutInitWindowPosition(0, 0);
glutCreateWindow("...");
glutDisplayFunc(display);
glutMainLoop();
return 0;
}
can i get fullscreen-mode with any glut-commands? - or must i do it with the Win API?
any example code would not be wrong
*gg* (with explanation please)
thx, for usefull answers

Im not sure about glut, but I use the win api
take a look at the ChangeDisplaySettings(...) function
take a look at the ChangeDisplaySettings(...) function
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement