From fdcd7c2edcbfbd9eb8c31ca121410789f178e696 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Sun, 7 Oct 2012 17:42:35 -0400 Subject: [PATCH] Fix crash because I forgot to add stat names --- BPTCEncoder/src/BC7Compressor.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/BPTCEncoder/src/BC7Compressor.cpp b/BPTCEncoder/src/BC7Compressor.cpp index 6ddbce9..e39d5eb 100755 --- a/BPTCEncoder/src/BC7Compressor.cpp +++ b/BPTCEncoder/src/BC7Compressor.cpp @@ -64,7 +64,25 @@ enum EBlockStats { static const char *kBlockStatString[kNumBlockStats] = { "BlockStat_Path", - "BlockStat_Mode" + "BlockStat_Mode", + + "eBlockStat_ModeZeroEstimate", + "eBlockStat_ModeOneEstimate", + "eBlockStat_ModeTwoEstimate", + "eBlockStat_ModeThreeEstimate", + "eBlockStat_ModeFourEstimate", + "eBlockStat_ModeFiveEstimate", + "eBlockStat_ModeSixEstimate", + "eBlockStat_ModeSevenEstimate", + + "eBlockStat_ModeZeroError", + "eBlockStat_ModeOneError", + "eBlockStat_ModeTwoError", + "eBlockStat_ModeThreeError", + "eBlockStat_ModeFourError", + "eBlockStat_ModeFiveError", + "eBlockStat_ModeSixError", + "eBlockStat_ModeSevenError", }; static const uint32 kNumShapes2 = 64;