[Piglit] [PATCH] arb_clear_texture-simple: remove glDeleteTextures()
Anuj Phogat
anuj.phogat at gmail.com
Fri Jul 24 10:50:07 PDT 2015
On Thu, Jul 23, 2015 at 2:00 PM, Brian Paul <brianp at vmware.com> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the Piglit
mailing list