From e06f60c5362aeba5d5143757cff66ee4a5acd3d2 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Fri, 21 Mar 2014 01:14:36 -0400 Subject: [PATCH] Fix some compiler warnings. --- BPTCEncoder/src/CompressionMode.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BPTCEncoder/src/CompressionMode.h b/BPTCEncoder/src/CompressionMode.h index 8b6f9fe..c50a589 100755 --- a/BPTCEncoder/src/CompressionMode.h +++ b/BPTCEncoder/src/CompressionMode.h @@ -117,12 +117,13 @@ class CompressionMode { // BPTC block. The mode determines how these parameters will be translated // into actual bits. struct Params { - const uint16 m_ShapeIdx; RGBAVector m_P1[kMaxNumSubsets], m_P2[kMaxNumSubsets]; uint8 m_Indices[kMaxNumSubsets][kMaxNumDataPoints]; uint8 m_AlphaIndices[kMaxNumDataPoints]; uint8 m_PbitCombo[kMaxNumSubsets]; - int8 m_RotationMode, m_IndexMode; + int8 m_RotationMode; + int8 m_IndexMode; + const uint16 m_ShapeIdx; explicit Params(uint32 shape) : m_RotationMode(-1), m_IndexMode(-1), m_ShapeIdx(shape) { memset(m_Indices, 0xFF, sizeof(m_Indices));