From 9cec789d1bb8b530afd783740c5d4ec10e42c8ab Mon Sep 17 00:00:00 2001 From: Kenta Yoshimura Date: Wed, 3 Apr 2019 21:17:47 +0900 Subject: [PATCH] Try to fix syntax error. --- win32/render.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/render.cpp b/win32/render.cpp index 3e4c4349..2a597a84 100644 --- a/win32/render.cpp +++ b/win32/render.cpp @@ -1484,9 +1484,9 @@ void RenderDotMatrix3X (SSurface Src, SSurface Dst, RECT *rect) #define DrawPix(on00,on01,on10,on11) /* on00 on01 */ \ { /* on10 on11 */ \ - const uint16 colorXA = COLOR_ADD(colorX,colorX); \ - const uint16 colorXS = COLOR_SUB(colorXA,colorX); \ - const uint16 colorX2 = COLOR_SUB(colorX,colorXS); \ + const uint16 colorXA = COLOR_ADD::fn(colorX,colorX); \ + const uint16 colorXS = COLOR_SUB::fn(colorXA,colorX); \ + const uint16 colorX2 = COLOR_SUB::fn(colorX,colorXS); \ *dP1++ = _THREE_PIX(colorX2, colorX, colorX2); \ *dP2++ = _THREE_PIX(colorX, colorXA, colorX); \ *dP3++ = _THREE_PIX(colorX2, colorX, colorX2); \