diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:51 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:57 -0700 |
commit | 811eb70a5782a507168d3837ffa00cbe63a5412c (patch) | |
tree | 5c560f1ae2acfbc81c1f5da72df50ec89960e2a8 /src/mesa | |
parent | 28a02eb3b8a222166e190b40907d3b320902aa3c (diff) |
mesa/main/texcompress_s3tc_tmp.h: Fix two -Wparam-unused warnings.
Decorate the params accordingly with "UNUSED".
v2: move UNUSED decoration in front of parameter declaration
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/texcompress_s3tc_tmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress_s3tc_tmp.h b/src/mesa/main/texcompress_s3tc_tmp.h index 61630f24751..92316a74dd0 100644 --- a/src/mesa/main/texcompress_s3tc_tmp.h +++ b/src/mesa/main/texcompress_s3tc_tmp.h @@ -182,8 +182,8 @@ static void fetch_2d_texel_rgba_dxt5(GLint srcRowStride, const GLubyte *pixdata, #define ALPHACUT 127 -static void fancybasecolorsearch( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[2], - GLint numxpixels, GLint numypixels, GLint type, GLboolean haveAlpha) +static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[2], + GLint numxpixels, GLint numypixels, UNUSED GLint type, UNUSED GLboolean haveAlpha) { /* use same luminance-weighted distance metric to determine encoding as for finding the base colors */ |