diff options
author | Dave Airlie <[email protected]> | 2009-01-20 22:51:04 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-20 22:51:04 +1000 |
commit | ed3a1cce73fcd0d6f4b6e9b5f69a98ad179ddc4b (patch) | |
tree | 99602ae50a8bf9dd4492052bfbe565a8a0914fd8 /src/mesa/drivers/dri/r300/r300_render.c | |
parent | 08d90fe8a5e12d92994c05b2ec9f68ab7232275c (diff) |
r200: clear is working at least - not much else
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index c81393e7476..ef3671eadbd 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -180,11 +180,11 @@ static void r300EmitElts(GLcontext * ctx, void *elts, unsigned long n_elts) rmesa->state.elt_dma_bo = radeon_bo_open(rmesa->radeon.radeonScreen->bom, 0, n_elts * 4, 4, RADEON_GEM_DOMAIN_GTT, 0); - rmesa->state.elt_dma_offset = 0; - radeon_bo_map(rmesa->state.elt_dma_bo, 1); + rmesa->state.elt_dma_offset = 0; + radeon_bo_map(rmesa->state.elt_dma_bo, 1); out = rmesa->state.elt_dma_bo->ptr + rmesa->state.elt_dma_offset; memcpy(out, elts, n_elts * 4); - radeon_bo_unmap(rmesa->state.elt_dma_bo); + radeon_bo_unmap(rmesa->state.elt_dma_bo); } static void r300FireEB(r300ContextPtr rmesa, int vertex_count, int type) |