---
tests/shaders/fp-lit-src-equals-dst.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/shaders/fp-lit-src-equals-dst.c
b/tests/shaders/fp-lit-src-equals-dst.c
index 11d495d..e59b3b3 100644
--- a/tests/shaders/fp-lit-src-equals-dst.c
+++ b/tests/shaders/fp-lit-src-equals-dst.c
@@ -71,8 +71,6 @@ static void DoFrame(void)
glPopMatrix();
}
-
- glutSwapBuffers();
}
static bool
@@ -81,8 +79,6 @@ DoTest(void)
int mask;
bool pass = true;
- glReadBuffer( GL_FRONT );
-
for(mask = 1; mask < 16; ++mask) {
float expected[4];
int i;
@@ -110,6 +106,8 @@ piglit_display(void)
DoFrame();
pass = DoTest();
+ glutSwapBuffers();
+
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
--
1.7.5.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev