Re: FreeGlut Example Not Working

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

Thanks for the tips. I tried a more simple idea, but it still isn't working.

without warning 
 
include EuFreeGlut.ew 
 
include std/math.e 
 
include flags.e 
 
 
glutInit(0,"") 
 
glutInitDisplayMode(or_all({GLUT_DEPTH,GLUT_DOUBLE,GLUT_RGBA})) 
 
glutInitWindowPosition(100,100) 
 
glutInitWindowSize(640,480) 
 
atom x = glutCreateWindow("My Window") 
 
procedure Render() 
 
glutSwapBuffers() 
	 
end procedure 
 
atom y = routine_id("Render") 
 
call_proc(y,{}) 
 
glutDisplayFunc(y) --window still doesn't show 
 
glutMainLoop() 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu