Re: FreeGlut Example Not Working
- Posted by Icy_Viking Feb 05, 2021
- 1041 views
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()