summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_sse4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blitter/32bpp_sse4.cpp')
-rw-r--r--src/blitter/32bpp_sse4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_sse4.cpp b/src/blitter/32bpp_sse4.cpp
index 7243f754b..7d2bc91aa 100644
--- a/src/blitter/32bpp_sse4.cpp
+++ b/src/blitter/32bpp_sse4.cpp
@@ -289,10 +289,10 @@ inline Colour Blitter_32bppSSE4::AdjustBrightness(Colour colour, uint8 brightnes
/* Shortcut for normal brightness. */
if (brightness == DEFAULT_BRIGHTNESS) return colour;
- return this->ReallyAdjustBrightness(colour, brightness);
+ return Blitter_32bppSSE4::ReallyAdjustBrightness(colour, brightness);
}
-Colour Blitter_32bppSSE4::ReallyAdjustBrightness(Colour colour, uint8 brightness)
+/* static */ Colour Blitter_32bppSSE4::ReallyAdjustBrightness(Colour colour, uint8 brightness)
{
ALIGN(16) uint64 c16 = colour.b | (uint64) colour.g << 16 | (uint64) colour.r << 32;
c16 *= brightness;