Module: Mesa
Branch: main
Commit: ed4bda804485515e9f3ddece1b318da8edeff49e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed4bda804485515e9f3ddece1b318da8edeff49e

Author: Erik Faye-Lund <[email protected]>
Date:   Fri Jun 23 14:47:19 2023 +0200

draw: use enum for primitive-type

Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23833>

---

 src/gallium/auxiliary/draw/draw_pipe_vbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c 
b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
index c6a5bc3c3bb..081c45eba78 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
@@ -183,7 +183,7 @@ vbuf_point(struct draw_stage *stage, struct prim_header 
*prim)
  * will be flushed if needed and a new one allocated.
  */
 static void
-vbuf_start_prim(struct vbuf_stage *vbuf, uint prim)
+vbuf_start_prim(struct vbuf_stage *vbuf, enum mesa_prim prim)
 {
    struct translate_key hw_key;
    unsigned dst_offset;

Reply via email to