summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-24 09:00:48 -0600
committerBrian Paul <brianp@vmware.com>2010-03-24 09:04:10 -0600
commite71c1589d8e5ab3c81b0fc04f4720c74849c4f15 (patch)
tree068d504731c5c3454c183a866c36873c597f23f7 /src/mesa/state_tracker/st_cb_texture.c
parent2d6befd9d1e8dcf6495fe1b9cef12224046f3095 (diff)
st/mesa: fix typo in prev commit
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-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);
}