From: Laura Ekstrand Date: Tue, 2 Dec 2014 01:30:44 +0000 (-0800) Subject: main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=499004e56a51bdabff489913680aa972e7fab369;p=mesa.git main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample. Reviewed-by: Anuj Phogat --- 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);