gallium/aux/util/u_format.c: Fix one -Wunused-param warning

This warning was issued only in release mode. Fix it by fake-using the
parameter.

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
This commit is contained in:
Gert Wollny
2017-11-16 16:09:39 +01:00
committed by Brian Paul
parent e979ab70c2
commit cf93a7fc9e

View File

@@ -249,6 +249,8 @@ util_format_is_supported(enum pipe_format format, unsigned bind)
util_format_is_float(format)) {
return FALSE;
}
#else
(void)bind;
#endif
return TRUE;