From dbde06edf11857c7475105ad670494e7f5ebe493 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 5 Nov 2014 12:17:34 -0500 Subject: [PATCH] Fix bug caused by typo. --- ASTCEncoder/src/Decompressor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASTCEncoder/src/Decompressor.cpp b/ASTCEncoder/src/Decompressor.cpp index 71e2279..dde3e8f 100644 --- a/ASTCEncoder/src/Decompressor.cpp +++ b/ASTCEncoder/src/Decompressor.cpp @@ -445,9 +445,9 @@ namespace ASTCC { case 4: { C = 13; - // B = dcb000dcb + // B = dcb0000dc uint32 dcb = (bitval >> 1) & 7; - B = (dcb << 6) | dcb; + B = (dcb << 6) | (dcb >> 1); } break;