From 499004e56a51bdabff489913680aa972e7fab369 Mon Sep 17 00:00:00 2001 From: Laura Ekstrand Date: Mon, 1 Dec 2014 17:30:44 -0800 Subject: 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(-) (limited to 'src/mesa/main/teximage.c') 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); -- cgit v1.2.3