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 84374c5a1165a25ad0a6bb038db0117b0a975cad..a283bbe5e858b78b19d0b3b67487ad1853ea6b41 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);