Re: FreeGlut Example Not Working

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

I know nothing, but

http://openglut.sourceforge.net/group__window.html#ga9 said...

In fact, you must register a display callback via glutDisplayFunc() before you enter glutMainLoop().

Well you must know something because I think you're right. I reconstructed the demo and this is what I get when I run it:

freeglut (C:\Euphoria\bin\eui.exe): ERROR:  No display callback registered for window 1 

Edit: Assigning an empty callback via glutDisplayFunc() makes the window open correctly. Make sure you are testing these things with eui and not euiw so you don't miss out on any console-printed error messages.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu