aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/texcompress_etc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c
index b39ab33d36f..32464f3ca9e 100644
--- a/src/mesa/main/texcompress_etc.c
+++ b/src/mesa/main/texcompress_etc.c
@@ -548,6 +548,8 @@ etc2_rgb8_fetch_texel(const struct etc2_block *block,
if (punchthrough_alpha)
dst[3] = 255;
}
+ else
+ unreachable("unhandled block mode");
}
static void