summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.c')
-rw-r--r--src/gallium/drivers/i965/brw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_context.c b/src/gallium/drivers/i965/brw_context.c
index 30cc243255..0692412b32 100644
--- a/src/gallium/drivers/i965/brw_context.c
+++ b/src/gallium/drivers/i965/brw_context.c
@@ -107,6 +107,7 @@ struct pipe_context *brw_create_context(struct pipe_screen *screen)
//ctx->Shader.EmitCondCodes = GL_TRUE;
//ctx->Shader.EmitNVTempInitialization = GL_TRUE;
+ brw->base.screen = screen;
brw->base.destroy = brw_destroy_context;
brw_pipe_blend_init( brw );