From 60f3c01285927cc323aeedbc91eb00328e295f1b Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Fri, 16 Aug 2024 01:20:09 +0300 Subject: [PATCH] AGS.Native: fix called function name for replacing alpha --- Editor/AGS.Native/agsnative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/AGS.Native/agsnative.cpp b/Editor/AGS.Native/agsnative.cpp index 59bb844abe..b3c8fa6548 100644 --- a/Editor/AGS.Native/agsnative.cpp +++ b/Editor/AGS.Native/agsnative.cpp @@ -1880,7 +1880,7 @@ Common::Bitmap *CreateNativeBitmap(System::Drawing::Bitmap^ bmp, int destColorDe // change pixels with alpha 0 to MASK_COLOR_X if (tempsprite->GetColorDepth() == 32) { - BitmapHelper::ReplaceAlphaWithRGBMask(tempsprite); + BitmapHelper::ReplaceZeroAlphaWithRGBMask(tempsprite); } } else