summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-04 16:42:44 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-04 16:42:44 +0000
commit99394a737a46999a2fc08915e9f1408246109c4a (patch)
treecf13e775a88bd3ffa727a9246e626b8e28c88cd7 /src/gallium/drivers/i965/brw_context.c
parent5f8dde99ed62beaf1c2590515c33ed8b5076ed8d (diff)
i965g: add some missing texture creation code
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 );