[Mesa-dev] [PATCH 34/41] main: Fixed _mesa_texture_image_multisample so that it updates the texObj->Immutable flag correctly.
Laura Ekstrand
laura at jlekstrand.net
Mon Dec 15 17:22:49 PST 2014
---
src/mesa/main/teximage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index fa1596d..36b1577 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -5225,7 +5225,7 @@ _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
}
}
- texObj->Immutable = immutable;
+ texObj->Immutable |= immutable;
if (immutable) {
_mesa_set_texture_view_state(ctx, texObj, target, 1);
--
2.1.0
More information about the mesa-dev
mailing list