aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2013-01-21 18:51:15 +1000
committerDave Airlie <airlied@gmail.com>2013-01-21 18:51:15 +1000
commit0e7b4203a034e56ba8fec0d298daa34e10d51eb2 (patch)
treef8648eeaaa840688c778887a5b3e9e99cba51983
parent979760a19d4c61be40a62e003ced1f618bbc5942 (diff)
downloadpiglit-0e7b4203a034e56ba8fec0d298daa34e10d51eb2.tar.gz
tbo/formats: fix test to disconnect program
This test shouldn't be testing undefined behaviour. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--tests/spec/arb_texture_buffer_object/formats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/spec/arb_texture_buffer_object/formats.c b/tests/spec/arb_texture_buffer_object/formats.c
index b89781e0..cbb3b41b 100644
--- a/tests/spec/arb_texture_buffer_object/formats.c
+++ b/tests/spec/arb_texture_buffer_object/formats.c
@@ -533,6 +533,7 @@ test_format(int format_index)
glDeleteBuffers(1, &bo);
glDeleteTextures(1, &tex);
+ glUseProgram(0);
y_index++;
return pass ? PIGLIT_PASS : PIGLIT_FAIL;