aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc_tmp.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-26 17:21:43 -0500
committerMarek Olšák <[email protected]>2020-02-27 22:53:12 -0500
commitad192385e3348b12d15f466225c2792adf42e7e7 (patch)
tree70f0cdb279634e190cc09b331edff86ff3918b90 /src/mesa/main/texcompress_s3tc_tmp.h
parent6d7b076166e6a26f68c33ea75b9f9473fc162738 (diff)
mesa: fix 11 warnings
Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3970>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc_tmp.h')
-rw-r--r--src/mesa/main/texcompress_s3tc_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_s3tc_tmp.h b/src/mesa/main/texcompress_s3tc_tmp.h
index 904c6765261..5dd25222f15 100644
--- a/src/mesa/main/texcompress_s3tc_tmp.h
+++ b/src/mesa/main/texcompress_s3tc_tmp.h
@@ -197,7 +197,7 @@ static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][
GLuint pixerror, pixerrorred, pixerrorgreen, pixerrorblue, pixerrorbest;
GLint colordist, blockerrlin[2][3];
GLubyte nrcolor[2];
- GLint pixerrorcolorbest[3];
+ GLint pixerrorcolorbest[3] = {0};
GLubyte enc = 0;
GLubyte cv[4][4];
GLubyte testcolor[2][3];