draw: use enum for primitive-type
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>
This commit is contained in:
committed by
Marge Bot
parent
1569507e26
commit
ed4bda8044
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user