summaryrefslogtreecommitdiff
path: root/tests/spec/arb_es2_compatibility
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2012-08-21 21:11:55 +1200
committerChad Versace <chad.versace@linux.intel.com>2012-09-04 16:02:18 -0700
commit9cad85663901e4c3f729b86b007a97fa1de13a5f (patch)
tree72936357a09eb03955f59358f1517d217e6e7b97 /tests/spec/arb_es2_compatibility
parent9c6ac73c2871a3b08ea13d39cd5c596d75220aab (diff)
Convert all glutSwapBuffers to piglit_present_results
V2: Don't break tests/general/read-front Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/spec/arb_es2_compatibility')
-rw-r--r--tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c2
-rw-r--r--tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c2
-rw-r--r--tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c
index ec1e524a7..d099b9377 100644
--- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c
+++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c
@@ -80,7 +80,7 @@ piglit_display(void)
pass = piglit_probe_pixel_rgb(piglit_width * 3 / 4, piglit_height / 2,
blue) && pass;
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
#else
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c
index 7130aaa5b..e281108d2 100644
--- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c
+++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type.c
@@ -138,7 +138,7 @@ piglit_display(void)
pass = piglit_probe_pixel_rgba(opos[i*2]+25, opos[i*2+1]+25, &ocol[i*4]) && pass;
}
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c
index 2ed7dd7d1..69fb69173 100644
--- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c
+++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c
@@ -104,7 +104,7 @@ piglit_display(void)
assert(!glGetError());
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
#else