[Piglit] [PATCH 2/7] shader_runner: Only swapbuffers if appropriate (!auto, !fbo).
Eric Anholt
eric at anholt.net
Mon Aug 15 12:49:21 PDT 2011
---
tests/shaders/shader_runner.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 001f812..8e92bfc 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -1067,7 +1067,7 @@ piglit_display(void)
line++;
}
- glutSwapBuffers();
+ piglit_present_results();
if (piglit_automatic) {
/* Free our resources, useful for valgrinding. */
--
1.7.5.4
More information about the Piglit
mailing list