mesa: Silence unused parameter warning in compressedteximage_only_format
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 27 Feb 2018 19:24:44 +0000 (11:24 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Apr 2018 23:20:42 +0000 (16:20 -0700)
commitfa44941072cb43c14c749cc991a7e4001c57f5ca
tree1fbf6237f63541b7420269b1d076495b1c801356
parent377da9eb785d52904735cd62c0c7b205404c39d2
mesa: Silence unused parameter warning in compressedteximage_only_format

Passing ctx to compressedteximage_only_format was the only use of the
ctx parameter in _mesa_format_no_online_compression, so that parameter
had to go too.

../../SOURCE/master/src/mesa/main/teximage.c: In function ‘compressedteximage_only_format’:
../../SOURCE/master/src/mesa/main/teximage.c:1355:57: warning: unused parameter ‘ctx’ [-Wunused-parameter]
 compressedteximage_only_format(const struct gl_context *ctx, GLenum format)
                                                         ^~~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/formatquery.c
src/mesa/main/teximage.c
src/mesa/main/teximage.h