mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
r600g: set pipe_context::priv = NULL
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101254 Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
e8be83f7f8
commit
9a22c85618
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen,
|
|||
return NULL;
|
||||
|
||||
rctx->b.b.screen = screen;
|
||||
rctx->b.b.priv = priv;
|
||||
assert(!priv);
|
||||
rctx->b.b.priv = NULL; /* for threaded_context_unwrap_sync */
|
||||
rctx->b.b.destroy = r600_destroy_context;
|
||||
rctx->b.set_atom_dirty = (void *)r600_set_atom_dirty;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue