From dd3b2b5e57284d6fc29e8569c08fd4b8a9a07253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 7 Jun 2017 14:43:28 +0200 Subject: [PATCH] r600g: set pipe_context::priv = NULL Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101254 --- src/gallium/drivers/r600/r600_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 957431a..b938208 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -130,7 +130,7 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, return NULL; rctx->b.b.screen = screen; - rctx->b.b.priv = 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; -- 2.7.4