mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 00:35:54 +00:00
GRAPHICS: colour -> color in VectorRendererSpec code.
This commit is contained in:
parent
8b7672b64c
commit
63ccd85baa
@ -701,7 +701,7 @@ darkenFill(PixelType *ptr, PixelType *end) {
|
|||||||
PixelType addA = (PixelType)(3 << (_format.aShift + 6 - _format.aLoss));
|
PixelType addA = (PixelType)(3 << (_format.aShift + 6 - _format.aLoss));
|
||||||
|
|
||||||
while (ptr != end) {
|
while (ptr != end) {
|
||||||
// Darken the colour, and increase the alpha
|
// Darken the color, and increase the alpha
|
||||||
// (0% -> 75%, 100% -> 100%)
|
// (0% -> 75%, 100% -> 100%)
|
||||||
*ptr = (PixelType)(((*ptr & ~mask) >> 2) + addA);
|
*ptr = (PixelType)(((*ptr & ~mask) >> 2) + addA);
|
||||||
++ptr;
|
++ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user