summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_curbe.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_curbe.c
parente3e084c66089704a36f28dfb2bc4b17e5c5ce046 (diff)
i965g: remove redundant screen pointer in brw context struct
Diffstat (limited to 'src/gallium/drivers/i965/brw_curbe.c')
-rw-r--r--src/gallium/drivers/i965/brw_curbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_curbe.c b/src/gallium/drivers/i965/brw_curbe.c
index 5763173bca6..f62b0b0d5e2 100644
--- a/src/gallium/drivers/i965/brw_curbe.c
+++ b/src/gallium/drivers/i965/brw_curbe.c
@@ -224,7 +224,7 @@ static int prepare_curbe_buffer(struct brw_context *brw)
if (brw->curbe.vs_size) {
GLuint offset = brw->curbe.vs_start * 16;
GLuint nr = brw->curr.vertex_shader->info.file_max[TGSI_FILE_CONSTANT];
- struct pipe_screen *screen = &brw->brw_screen->base;
+ struct pipe_screen *screen = brw->base.screen;
const GLfloat *value = screen->buffer_map( screen,
brw->curr.vertex_constants,