6 glClearColor(1, 0, 0, 1);
10 void demo_cleanup(void)
14 void demo_display(void)
16 glClear(GL_COLOR_BUFFER_BIT);
19 void demo_reshape(int x, int y)
21 glViewport(0, 0, x, y);
24 void demo_keyboard(int key, int pressed)
28 void demo_mouse(int bn, int pressed, int x, int y)
32 void demo_motion(int x, int y)