diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-07-06 20:03:32 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-07-15 21:16:36 -0700 |
commit | 5a5b599eebfa98d98b5f201704373ed4c7d1d11f (patch) | |
tree | 3f94b5501a0442187e74dfe5a51ee80fa186a928 /src | |
parent | 6d5928dc335f352e7f521bda41e297de0291e95e (diff) |
glut_waffle: Fix glutMainLoop
Stop calling waffle_swap_buffers() from glutMainLoop. It breaks tests in
non-auto mode. It's the test's responsibility to call swapBuffers, anyway.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/glut_waffle/glut_waffle.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glut_waffle/glut_waffle.c b/src/glut_waffle/glut_waffle.c index 60db674c5..035907495 100644 --- a/src/glut_waffle/glut_waffle.c +++ b/src/glut_waffle/glut_waffle.c @@ -399,9 +399,6 @@ glutMainLoop(void) if (_glut->window->display_cb) _glut->window->display_cb(); - if (_glut->window) - waffle_window_swap_buffers(_glut->window->waffle); - // FIXME: Tests run without -auto require basic input. // Workaround for input: |