View Full Version : freeGLUT doesn't open OpenGL Window
12-29-2011, 09:35 PM
Hi.I tried use glutMouseWheelFunc.It is building.But it doesn't open window.Thanks for ur helps.
12-29-2011, 10:43 PM
You have not given any source code for us to comment on. But I could see in the snapshot that you posted that the initialization function glutInitDisplayMode is
1) called after glutCreateWindow when it should be called before it and
2) the parameters to glutInitDisplayMode are given wrongly.
Please go through a basic glut setup tutorial first. Something like this http://www.lighthouse3d.com/tutorials/glut-tutorial/initialization/ tutorial might help.
12-30-2011, 11:03 AM
1)Did u ever try glutInitDisplayMode func call after glutCreateWindow?
2)Can u write true parameters?Please.
3)Link is break.
12-30-2011, 02:55 PM
3) link works for me currently.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.