diff options
author | Ian Romanick <[email protected]> | 2018-02-27 11:24:44 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-04-11 16:20:42 -0700 |
commit | fa44941072cb43c14c749cc991a7e4001c57f5ca (patch) | |
tree | 1fbf6237f63541b7420269b1d076495b1c801356 /src/mesa/main/teximage.h | |
parent | 377da9eb785d52904735cd62c0c7b205404c39d2 (diff) |
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 <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index bf790af2766..266a9f3d83d 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -221,7 +221,7 @@ _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, GLenum internalFormat); bool -_mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format); +_mesa_format_no_online_compression(GLenum format); GLboolean _mesa_is_renderable_texture_format(const struct gl_context *ctx, |