mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
* Renamed All Instance of G1_FLAG_BMP Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY * Fixed comments and labels Fixed comments and labels to be more in line with new definitions
This commit is contained in:
@@ -633,8 +633,8 @@ void FASTCALL gfx_draw_sprite_raw_masked_software(
|
||||
return;
|
||||
}
|
||||
|
||||
// Only BMP format is supported for masking
|
||||
if (!(imgMask->flags & G1_FLAG_BMP) || !(imgColour->flags & G1_FLAG_BMP))
|
||||
// Must have transparency in order to pass check
|
||||
if (!(imgMask->flags & G1_FLAG_HAS_TRANSPARENCY) || !(imgColour->flags & G1_FLAG_HAS_TRANSPARENCY))
|
||||
{
|
||||
gfx_draw_sprite_software(dpi, colourImage, scrCoords);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user