diff options
Diffstat (limited to 'core/fxge/cfx_renderdevice.cpp')
-rw-r--r-- | core/fxge/cfx_renderdevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/cfx_renderdevice.cpp b/core/fxge/cfx_renderdevice.cpp index 826f14dfa7..aed1bff94e 100644 --- a/core/fxge/cfx_renderdevice.cpp +++ b/core/fxge/cfx_renderdevice.cpp @@ -148,7 +148,7 @@ void NormalizeArgb(int src_value, int src_alpha) { uint8_t back_alpha = dest[3]; if (back_alpha == 0) - FXARGB_SETDIB(dest, FXARGB_MAKE(src_alpha, r, g, b)); + FXARGB_SETDIB(dest, ArgbEncode(src_alpha, r, g, b)); else if (src_alpha != 0) ApplyDestAlpha(back_alpha, src_alpha, r, g, b, dest); } |