draw: match type of pipe_draw_start_count_bias::count
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 23 Jun 2023 13:35:51 +0000 (15:35 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Jun 2023 09:30:22 +0000 (09:30 +0000)
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23833>

src/gallium/auxiliary/draw/draw_vbuf.h

index c9e0faa..5df2887 100644 (file)
@@ -110,13 +110,13 @@ struct vbuf_render {
     */
    void (*draw_elements)(struct vbuf_render *,
                          const ushort *indices,
-                         uint nr_indices);
+                         unsigned nr_indices);
 
    /* Draw non-indexed primitives.
     */
    void (*draw_arrays)(struct vbuf_render *,
                        unsigned start,
-                       uint nr);
+                       unsigned nr);
 
    /**
     * Called when vbuf is done with this set of vertices: