PDA

View Full Version : freeGLUT doesn't open OpenGL Window



Helegurbann
12-29-2011, 10:35 PM
Hi.I tried use glutMouseWheelFunc.It is building.But it doesn't open window.Thanks for ur helps.

mobeen
12-29-2011, 11:43 PM
HI,
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.

Helegurbann
12-30-2011, 12:03 PM
Hi,
1)Did u ever try glutInitDisplayMode func call after glutCreateWindow?
2)Can u write true parameters?Please.
3)Link is break.

ZbuffeR
12-30-2011, 03:55 PM
3) link works for me currently.