summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-05-09 18:04:16 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2008-05-09 18:15:49 +0100
commit7462f0557f9cce73ff2d32e62ef110b5d8622f87 (patch)
treed4de59ba565285b01ee797aa4afdf58459eec756 /src/gallium
parent1a03812fb57e956b438cd42ac68978facb49a99d (diff)
draw: Fix number of vertices allocated in draw_pt_emit().
Diffstat (limited to 'src/gallium')
-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 e458cbe533..ce3a153f64 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;