diff options
author | Rob Clark <[email protected]> | 2014-08-24 13:06:37 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-08-24 13:09:47 -0400 |
commit | 306e421887720b149be77c749108bcffcebe34f6 (patch) | |
tree | 0415b4b4918b81f76bd5d307b4d1eb7025482ee0 /src/gallium/drivers | |
parent | bd3b0964675d36e753e273d5667b922cc9baac4a (diff) |
freedreno/a2xx: fix segfault
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_context.c b/src/gallium/drivers/freedreno/a2xx/fd2_context.c index f51c5eead4f..a0bf01ffd1f 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_context.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_context.c @@ -98,6 +98,7 @@ fd2_context_create(struct pipe_screen *pscreen, void *priv) pctx = &fd2_ctx->base.base; fd2_ctx->base.dev = fd_device_ref(screen->dev); + fd2_ctx->base.screen = fd_screen(pscreen); pctx->destroy = fd2_context_destroy; pctx->create_blend_state = fd2_blend_state_create; |