From 499004e56a51bdabff489913680aa972e7fab369 Mon Sep 17 00:00:00 2001 From: Laura Ekstrand Date: Mon, 1 Dec 2014 17:30:44 -0800 Subject: [PATCH] main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample. Reviewed-by: Anuj Phogat --- 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 84374c5a116..a283bbe5e85 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5200,7 +5200,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.30.2