From 1fb2d20779bafc9fb711259fc57672ee97b1ec1c Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 15 Nov 2012 22:29:02 +0100 Subject: [PATCH] Shut up compiler warning. --- gfx/gl.c | 3 +++ 1 file changed, 3 insertions(+) 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)