mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 21:50:11 +01:00
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:
parent
1569507e26
commit
ed4bda8044
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue