3b/cl-opengl

freeglut ERROR: No display callback registered for window 1

3b opened this issue · 0 comments

3b commented

shader-vao example exits with No display callback registered for window 1 error

freeglut requires setting a callback with glutDisplayFunc before running main loop, so figure out if that should be done automatically by glut wrappers, or if the example is doing something wrong.