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 <[email protected]>
---
 src/glut_waffle/glut_waffle.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/glut_waffle/glut_waffle.c b/src/glut_waffle/glut_waffle.c
index 60db674..0359074 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:
-- 
1.7.11.1

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to