[Piglit] [PATCH] arb_clear_texture-simple: remove glDeleteTextures()
Brian Paul
brianp at vmware.com
Thu Jul 23 14:00:33 PDT 2015
If the piglit_display() function was called more than once, we'd
try use deleted textures and generate a bunch of GL errors.
---
tests/spec/arb_clear_texture/simple.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/spec/arb_clear_texture/simple.c b/tests/spec/arb_clear_texture/simple.c
index 29c6f80..fdbeb44 100644
--- a/tests/spec/arb_clear_texture/simple.c
+++ b/tests/spec/arb_clear_texture/simple.c
@@ -126,7 +126,6 @@ piglit_display(void)
piglit_draw_rect_tex(64, 0, 64, 64, 0, 0, 1, 1);
glDisable(GL_TEXTURE_2D);
- glDeleteTextures(2, texture);
/* Check for the 3 separate regions */
pass &= piglit_probe_rect_rgb(0, 0, 64, 64, green);
--
1.9.1
More information about the Piglit
mailing list