mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
vk/meta: Fix -Wstrict-prototypes
In C, functions with no arguments require a void argument. build_nir_clear_fragment_shader() lacked that. Fixes: anv_meta.c:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
This commit is contained in:
parent
6dea1a9ba1
commit
b1c024a932
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ build_nir_vertex_shader(bool attr_flat)
|
|||
}
|
||||
|
||||
static nir_shader *
|
||||
build_nir_clear_fragment_shader()
|
||||
build_nir_clear_fragment_shader(void)
|
||||
{
|
||||
nir_builder b;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue