From 571bf1ebd0dd946ae6464faf6f64502fd3dd0eb8 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Thu, 12 Sep 2013 15:01:30 -0400 Subject: [PATCH] Remove dead code --- PVRTCEncoder/src/Decompressor.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/PVRTCEncoder/src/Decompressor.cpp b/PVRTCEncoder/src/Decompressor.cpp index 417bbf6..18f7c61 100644 --- a/PVRTCEncoder/src/Decompressor.cpp +++ b/PVRTCEncoder/src/Decompressor.cpp @@ -232,14 +232,12 @@ namespace PVRTCC { case Block::e2BPPSubMode_Horizontal: lerpVal += GET_LERP_VAL((i + w - 1) % w, j); lerpVal += GET_LERP_VAL((i + w + 1) % w, j); - // lerpVal = (lerpVal + 1) / 2; lerpVal /= 2; break; case Block::e2BPPSubMode_Vertical: lerpVal += GET_LERP_VAL(i, (j + h - 1) % h); lerpVal += GET_LERP_VAL(i, (j + h + 1) % h); - // lerpVal = (lerpVal + 1) / 2; lerpVal /= 2; break; @@ -250,7 +248,6 @@ namespace PVRTCC { lerpVal += GET_LERP_VAL((i + w - 1) % w, j); lerpVal += GET_LERP_VAL((i + w + 1) % w, j); lerpVal = (lerpVal + 1) / 4; - // lerpVal /= 4; break; } GET_LERP_VAL(i, j) = lerpVal;