diff --git a/gfx/gl.c b/gfx/gl.c index cba461f4bd..adffe92749 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -304,6 +304,9 @@ void gl_shader_set_coords(gl_t *gl, const struct gl_coords *coords, const math_m bool ret_coords = false; bool ret_mvp = false; + (void)ret_coords; + (void)ret_mvp; + if (gl->shader) ret_coords = gl->shader->set_coords(coords); if (gl->shader)