draw: Fix number of vertices allocated in draw_pt_emit().
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 9 May 2008 17:04:16 +0000 (18:04 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 9 May 2008 17:15:49 +0000 (18:15 +0100)
src/gallium/auxiliary/draw/draw_pt_emit.c

index e458cbe..ce3a153 100644 (file)
@@ -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;