summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2008-05-09 18:04:16 +0100
committerMichel Dänzer <[email protected]>2008-05-09 18:15:49 +0100
commit7462f0557f9cce73ff2d32e62ef110b5d8622f87 (patch)
treed4de59ba565285b01ee797aa4afdf58459eec756 /src/gallium/auxiliary
parent1a03812fb57e956b438cd42ac68978facb49a99d (diff)
draw: Fix number of vertices allocated in draw_pt_emit().
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c
index e458cbe5337..ce3a153f647 100644
--- a/src/gallium/auxiliary/draw/draw_pt_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_emit.c
@@ -146,7 +146,7 @@ void draw_pt_emit( struct pt_emit *emit,
hw_verts = render->allocate_vertices(render,
(ushort)translate->key.output_stride,
- (ushort)count);
+ (ushort)vertex_count);
if (!hw_verts) {
assert(0);
return;