Hi.I tried use glutMouseWheelFunc.It is building.But it doesn’t open window.Thanks for ur helps.
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
- called after glutCreateWindow when it should be called before it and
- 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.
Hi,
1)Did u ever try glutInitDisplayMode func call after glutCreateWindow?
2)Can u write true parameters?Please.
3)Link is break.
- link works for me currently.