aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world_gles.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-04-05 02:13:12 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-04-05 02:13:12 -0400
commit1a3f245ee6a4bc7427d81756b8bf8a0a72ac97fe (patch)
treed5372e05431b658db754126a82267cca14c4ba95 /tests/hello_world_gles.c
parentbcafbea2fccaaeb05cbeabbc84bf89fc234266c0 (diff)
Fix glutIdleFunc()
glutIdleFunc() is auto-repeating until cancelled.
Diffstat (limited to 'tests/hello_world_gles.c')
-rw-r--r--tests/hello_world_gles.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/hello_world_gles.c b/tests/hello_world_gles.c
index 1a8a2db6..2da85b6d 100644
--- a/tests/hello_world_gles.c
+++ b/tests/hello_world_gles.c
@@ -616,8 +616,6 @@ gears_idle(void)
tRate0 = t;
frames = 0;
}
-
- glutIdleFunc (gears_idle);
}
static const char vertex_shader[] =