diff options
author | Brian Paul <brianp@vmware.com> | 2015-07-23 10:30:34 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-07-28 12:24:51 -0600 |
commit | c8e68125b1d082347de631f3005cb79f7ec740f4 (patch) | |
tree | 8f3132471f13f7d5629b842675bfee022b05733c | |
parent | 9fbc18ada97204a557c6cd0e034d997a082312dd (diff) |
arb_clear_texture-simple: remove glDeleteTextures()
If the piglit_display() function was called more than once, we'd
try to use deleted textures and generate a bunch of GL errors.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
-rw-r--r-- | tests/spec/arb_clear_texture/simple.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/spec/arb_clear_texture/simple.c b/tests/spec/arb_clear_texture/simple.c index 29c6f800d..fdbeb44c6 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); |