Fix #17229: Rename G1_FLAG_BMP to G1_FLAG_HAS_TRANSPARENCY (#17441)

* 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:
jazzysoggy authored and GitHub committed 2022-06-25 07:04:40 +01:00
1 parent fb7be451e5
commit f77611dcd2
9 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -1508,8 +1508,8 @@ static bool is_pixel_present_bmp(
{
PROFILED_FUNCTION();
// Probably used to check for corruption
if (!(g1->flags & G1_FLAG_BMP))
// Needs investigation as it has no consideration for pure BMP maps.
if (!(g1->flags & G1_FLAG_HAS_TRANSPARENCY))
{
return false;
}