aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-02-19 19:17:47 +0100
committerWillem Jan Palenstijn2012-02-20 22:17:33 +0100
commit905f9591ab664cdef498d689d413ea2d40ebb442 (patch)
treeab9015fc592caf06dd033550028ffffbc2f65df6 /graphics/VectorRendererSpec.h
parent297d15e122e39ca1c80dc255b1d36b03111630fc (diff)
downloadscummvm-rg350-905f9591ab664cdef498d689d413ea2d40ebb442.tar.gz
scummvm-rg350-905f9591ab664cdef498d689d413ea2d40ebb442.tar.bz2
scummvm-rg350-905f9591ab664cdef498d689d413ea2d40ebb442.zip
GUI: Speed up alpha blending with black for classic dialog backgrounds
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r--graphics/VectorRendererSpec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h
index 39505d3c27..7812e77b22 100644
--- a/graphics/VectorRendererSpec.h
+++ b/graphics/VectorRendererSpec.h
@@ -201,6 +201,8 @@ protected:
while (first != last) blendPixelPtr(first++, color, alpha);
}
+ void darkenFill(PixelType *first, PixelType *last);
+
const PixelFormat _format;
const PixelType _redMask, _greenMask, _blueMask, _alphaMask;