mesa: fix popping of texture state for GL_TEXTURE_BUFFER
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user