From: Brian Paul Date: Wed, 6 Apr 2011 18:45:21 +0000 (-0600) Subject: mesa: fix popping of texture state for GL_TEXTURE_BUFFER X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53245fffc022e5fc18c847e799f65c6b91e7378a;p=mesa.git mesa: fix popping of texture state for GL_TEXTURE_BUFFER Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032 --- diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 340c06c979d..6a2f4870db9 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -790,6 +790,8 @@ pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) !ctx->Extensions.MESA_texture_array) { continue; } + else if (obj->Target == GL_TEXTURE_BUFFER) + continue; target = obj->Target;