diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-05-09 18:04:16 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-05-09 18:15:49 +0100 |
commit | 7462f0557f9cce73ff2d32e62ef110b5d8622f87 (patch) | |
tree | d4de59ba565285b01ee797aa4afdf58459eec756 /src | |
parent | 1a03812fb57e956b438cd42ac68978facb49a99d (diff) |
draw: Fix number of vertices allocated in draw_pt_emit().
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_emit.c | 2 |
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; |