summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_draw.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 23:30:52 +0000
committerKeith Whitwell <[email protected]>2009-11-04 23:30:52 +0000
commit7a49bd6d15d7778db637340d695095dafb43a7fe (patch)
treeb8976175560992c2d7c8d05f408f5851d16bde30 /src/gallium/drivers/i965/brw_draw.c
parente3e084c66089704a36f28dfb2bc4b17e5c5ce046 (diff)
i965g: remove redundant screen pointer in brw context struct
Diffstat (limited to 'src/gallium/drivers/i965/brw_draw.c')
-rw-r--r--src/gallium/drivers/i965/brw_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_draw.c b/src/gallium/drivers/i965/brw_draw.c
index a2bed6256b7..6d6b1c7c5c3 100644
--- a/src/gallium/drivers/i965/brw_draw.c
+++ b/src/gallium/drivers/i965/brw_draw.c
@@ -258,14 +258,14 @@ boolean brw_draw_init( struct brw_context *brw )
/* Create helpers for uploading data in user buffers:
*/
- brw->vb.upload_vertex = u_upload_create( &brw->brw_screen->base,
+ brw->vb.upload_vertex = u_upload_create( brw->base.screen,
128 * 1024,
64,
PIPE_BUFFER_USAGE_VERTEX );
if (brw->vb.upload_vertex == NULL)
return FALSE;
- brw->vb.upload_index = u_upload_create( &brw->brw_screen->base,
+ brw->vb.upload_index = u_upload_create( brw->base.screen,
128 * 1024,
64,
PIPE_BUFFER_USAGE_INDEX );