diff options
author | Dave Airlie <[email protected]> | 2009-01-14 08:40:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-14 08:40:15 +1000 |
commit | 0217ed2cf9b0a538ca03d26b302a7cd57af7dd21 (patch) | |
tree | 50d173b505c7fbc111fc0b6c79a1f290b789f174 /src/mesa/drivers/dri/r200/r200_swtcl.c | |
parent | b6e486906968d82c7b8a869d7ab51697a7cce80c (diff) |
radeon/r200: move more stuff closer together in context
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_swtcl.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_swtcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index e4a5c129cec..104c4945629 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -285,7 +285,7 @@ static void flush_last_swtcl_prim( r200ContextPtr rmesa ) if (rmesa->dma.current.buf) { struct radeon_dma_region *current = &rmesa->dma.current; - GLuint current_offset = (rmesa->r200Screen->gart_buffer_offset + + GLuint current_offset = (rmesa->radeonScreen->gart_buffer_offset + current->buf->buf->idx * RADEON_BUFFER_SIZE + current->start); |