Skip to content

Commit

Permalink
AGS.Native: fix called function name for replacing alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Aug 15, 2024
1 parent bebf605 commit 60f3c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/AGS.Native/agsnative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60f3c01

Please sign in to comment.