aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-04-08 00:34:07 +0200
committerArisotura <thetotalworm@gmail.com>2022-04-08 00:34:07 +0200
commitf6a55354fa96788009bbb04121c31ca172ac5621 (patch)
treedcfe60f1938ce09660ebd436ddad51785a9a25e4
parent879695070a728c589d6999fe40799b01d34c35af (diff)
remove some cruft
-rw-r--r--src/GPU2D_Soft.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/GPU2D_Soft.cpp b/src/GPU2D_Soft.cpp
index 3aa56f7..8806273 100644
--- a/src/GPU2D_Soft.cpp
+++ b/src/GPU2D_Soft.cpp
@@ -60,13 +60,6 @@ u32 SoftRenderer::ColorBlend5(u32 val1, u32 val2)
u32 g = ((((val1 & 0x003F00) * eva) + ((val2 & 0x003F00) * evb) + 0x001000) >> 5) & 0x007F00;
u32 b = ((((val1 & 0x3F0000) * eva) + ((val2 & 0x3F0000) * evb) + 0x100000) >> 5) & 0x7F0000;
- /*if (eva <= 16)
- {
- r += 0x000001;
- g += 0x000100;
- b += 0x010000;
- }*/
-
if (r > 0x00003F) r = 0x00003F;
if (g > 0x003F00) g = 0x003F00;
if (b > 0x3F0000) b = 0x3F0000;