st/mesa: fix typo in prev commit
authorBrian Paul <brianp@vmware.com>
Wed, 24 Mar 2010 15:00:48 +0000 (09:00 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Mar 2010 15:04:10 +0000 (09:04 -0600)
src/mesa/state_tracker/st_cb_texture.c

index bda17cdc92f7a34a840b47e2dc871bd1ec816a5f..8cdd3ff2ae2b6fc50886edcba5318eb976ee90c8 100644 (file)
@@ -131,7 +131,7 @@ st_DeleteTextureObject(GLcontext *ctx,
           * crashes when the texture object is shared among contexts
           * and the original/owner context has already been destroyed.
           */
-         stObj->sampler_view->context == ctx->st->pipe;
+         stObj->sampler_view->context = ctx->st->pipe;
       }
       pipe_sampler_view_reference(&stObj->sampler_view, NULL);
    }