Jump to content
  • Advertisement
Sign in to follow this  
tuphdc

OpenGL GLUT and Vista = Flickering [SOLVED]

This topic is 4106 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I cannot get a GLUT game working in fullscreen mode. The entire screen flickers unless I disable Aero. I thought there weren't going to be any problems with Vista and OpenGL? If I can't fix this I'll have to use DirectX instead. I'm hoping somebody can help me because I prefer to use OpenGL. Here is the code I am using to set up my game:
int main(int argc, char* argv[])
{
	glutInit(&argc, argv);

	glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH);

	glutCreateWindow("GLUT_GAME");

	glutFullScreen();

	glutReshapeFunc(ChangeSize);

	glutSpecialFunc(SpecialKeys);

	glutDisplayFunc(RenderScene);

	glutIdleFunc(Idle);

	SetupRC();

	glutMainLoop();

	return 0;
}




Yes, I have the latest Cat drivers for my ATI card. [Edited by - tuphdc on September 15, 2007 10:11:48 AM]

Share this post


Link to post
Share on other sites
Advertisement
It turns out that when the DPI is changed in Vista, it causes flickering in a fullscreen GLUT application.

I had changed my DPI to 96 from the 120 and everything seems ok now.

[Edited by - tuphdc on September 15, 2007 2:13:38 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!