From 4ac36eab9be607f7da459c1c574cc82c5b9cb852 Mon Sep 17 00:00:00 2001 From: Richard Geldreich Date: Mon, 31 Aug 2026 03:48:15 -0400 Subject: [PATCH] setting g_xbc7_dc_quant_per_weight_bits to const (very minor fix) --- transcoder/basisu_xbc7_decoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcoder/basisu_xbc7_decoder.h b/transcoder/basisu_xbc7_decoder.h index 3b9a106..96780fb 100644 --- a/transcoder/basisu_xbc7_decoder.h +++ b/transcoder/basisu_xbc7_decoder.h @@ -633,7 +633,7 @@ namespace xbc7 { // reconstruction snaps to a 2^n-level grid (step ~64/(2^n - 1) in [0,64] // space), so coarse planes tolerate proportionally coarser DC. Same // build-alike caveat as above. - static bool g_xbc7_dc_quant_per_weight_bits = true; + static const bool g_xbc7_dc_quant_per_weight_bits = true; static inline int get_xbc7_dc_quant(uint32_t num_weight_bits) {