View Full Version : freeGLUT doesn't open OpenGL Window
12-29-2011, 10:35 PM
Hi.I tried use glutMouseWheelFunc.It is building.But it doesn't open window.Thanks for ur helps.
12-29-2011, 11: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, 12:03 PM
1)Did u ever try glutInitDisplayMode func call after glutCreateWindow?
2)Can u write true parameters?Please.
3)Link is break.
12-30-2011, 03:55 PM
3) link works for me currently.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.