diff options
author | Brian Paul <[email protected]> | 2011-04-06 12:45:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-06 12:45:30 -0600 |
commit | 53245fffc022e5fc18c847e799f65c6b91e7378a (patch) | |
tree | ff836c97b3056f9ac8217beee60c3e69660b7eae /src | |
parent | c1f4b2364f473910667ab97d6599619003639d39 (diff) |
mesa: fix popping of texture state for GL_TEXTURE_BUFFER
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
Diffstat (limited to 'src')
-rw-r--r-- | 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 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; |