diff options
author | Marek Olšák <[email protected]> | 2017-06-07 14:43:28 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-12 18:24:37 +0200 |
commit | 9a22c8561859edf6edc7641be1a0973792293941 (patch) | |
tree | 66c58bcbd75c638955deef12fe2b6e4768a1d709 /src | |
parent | e8be83f7f8f0b7846adb0b21daae58380f037d2f (diff) |
r600g: set pipe_context::priv = NULL
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101254
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 957431a5141..d4fdccbd78d 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -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; |