From 4ab17282468da40b147955d507be57f70d9c34fb Mon Sep 17 00:00:00 2001 From: Rogier Date: Sat, 28 Jun 2014 20:54:30 +0200 Subject: [PATCH] Fix to drawalpha darkening mode (no extra computation of t needed...) --- PixelAttributes.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/PixelAttributes.cpp b/PixelAttributes.cpp index caba755..1dddde1 100644 --- a/PixelAttributes.cpp +++ b/PixelAttributes.cpp @@ -269,8 +269,6 @@ void PixelAttribute::mixUnder(const PixelAttribute &p) m_r = m_r * 0.95; m_g = m_g * 0.95; m_b = m_b * 0.95; - if (pp.m_a != 1) - m_t = (m_t + pp.m_t) / 2; } } #ifdef DEBUG