aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/hello_world_gles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hello_world_gles.c b/tests/hello_world_gles.c
index 23e9e881..4f2cb45c 100644
--- a/tests/hello_world_gles.c
+++ b/tests/hello_world_gles.c
@@ -715,7 +715,7 @@ main(int argc, char *argv[])
glutCreateWindow("es2gears");
/* Set up glut callback functions */
- glutIdleFunc(gears_idle);
+ gears_idle();
glutReshapeFunc(gears_reshape);
glutDisplayFunc(gears_draw);
glutSpecialFunc(gears_special);