diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
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 bda17cdc92f..8cdd3ff2ae2 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); } |