main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample.
authorLaura Ekstrand <laura@jlekstrand.net>
Tue, 2 Dec 2014 01:30:44 +0000 (17:30 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:29 +0000 (11:37 -0800)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/teximage.c

index 84374c5..a283bbe 100644 (file)
@@ -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);