From e9a8630a3f3dc9e03674558f900c20e6eff6bf6e Mon Sep 17 00:00:00 2001 From: Ignacio Date: Sat, 5 Dec 2015 14:50:52 -0800 Subject: [PATCH] Increase array size to supress compiler warning. --- src/nvtt/squish/fastclusterfit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvtt/squish/fastclusterfit.h b/src/nvtt/squish/fastclusterfit.h index cf36eb9..01155cd 100644 --- a/src/nvtt/squish/fastclusterfit.h +++ b/src/nvtt/squish/fastclusterfit.h @@ -53,14 +53,14 @@ private: Vec3 m_principle; #if SQUISH_USE_SIMD - Vec4 m_unweighted[16]; + Vec4 m_unweighted[17]; Vec4 m_metric; Vec4 m_metricSqr; Vec4 m_xxsum; Vec4 m_xsum; Vec4 m_besterror; #else - Vec3 m_unweighted[16]; + Vec3 m_unweighted[17]; Vec3 m_metric; Vec3 m_metricSqr; Vec3 m_xxsum;