summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index bda17cdc92..8cdd3ff2ae 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -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);
}