projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f4b23
)
mesa: fix popping of texture state for GL_TEXTURE_BUFFER
author
Brian Paul
<brianp@vmware.com>
Wed, 6 Apr 2011 18:45:21 +0000
(12:45 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 6 Apr 2011 18:45:30 +0000
(12:45 -0600)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 340c06c979d9828e601e8593ea50452c6ddd8a0c..6a2f4870db9e51b5f135e3a7d80a7023251f8edd 100644
(file)
--- 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;