From: Michel Dänzer Date: Fri, 9 May 2008 17:04:16 +0000 (+0100) Subject: draw: Fix number of vertices allocated in draw_pt_emit(). X-Git-Tag: mesa-7.8~4139^2~390^2~1540^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7462f0557f9cce73ff2d32e62ef110b5d8622f87;p=platform%2Fupstream%2Fmesa.git draw: Fix number of vertices allocated in draw_pt_emit(). --- diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c index e458cbe..ce3a153 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;