aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome/via_render.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-12-29 21:17:06 +0000
committerKeith Whitwell <[email protected]>2004-12-29 21:17:06 +0000
commit5be14fd59a24612afd09da13688d611a1711d6da (patch)
tree26b559af8815b006de46711d10358a1f8a8176e4 /src/mesa/drivers/dri/unichrome/via_render.c
parent490e764d7affc093feff80192ed3f3d4642fcb8f (diff)
Fix some wrapping bugs in the last commit. Probably there are more
remaining.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_render.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_render.c b/src/mesa/drivers/dri/unichrome/via_render.c
index 0b4f512b26f..8e4efd220f9 100644
--- a/src/mesa/drivers/dri/unichrome/via_render.c
+++ b/src/mesa/drivers/dri/unichrome/via_render.c
@@ -70,7 +70,7 @@
(VIA_DMA_BUF_SZ - 512) / (vmesa->vertexSize * 4)
#define ALLOC_VERTS( nr ) \
- viaAllocDma( vmesa, (nr) * vmesa->vertexSize * 4)
+ viaExtendPrimitive( vmesa, (nr) * vmesa->vertexSize * 4)
#define EMIT_VERTS(ctx, j, nr, buf) \
via_emit_contiguous_verts(ctx, j, (j) + (nr), buf)