Mesa (master): mesa: fix popping of texture state for GL_TEXTURE_BUFFER
Brian Paul
brianp at kemper.freedesktop.org
Wed Apr 6 18:45:45 UTC 2011
Module: Mesa
Branch: master
Commit: 53245fffc022e5fc18c847e799f65c6b91e7378a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53245fffc022e5fc18c847e799f65c6b91e7378a
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 12:45:21 2011 -0600
mesa: fix popping of texture state for GL_TEXTURE_BUFFER
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
---
src/mesa/main/attrib.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 340c06c..6a2f487 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;
More information about the mesa-commit
mailing list