forked from rosebudai/OpenRCT2-Web
Create weak enum for PaletteIndex
This commit is contained in:
1 parent
6693278b7f
commit
cfb4b008b2
16 files changed
+200
-200
No files matched your search
@@ -240,7 +240,7 @@ static DrawPixelInfo CreateDPI(const Viewport& viewport)
|
||||
|
||||
if (viewport.flags & VIEWPORT_FLAG_TRANSPARENT_BACKGROUND)
|
||||
{
|
||||
std::memset(dpi.bits, PALETTE_INDEX_0, static_cast<size_t>(dpi.width) * dpi.height);
|
||||
std::memset(dpi.bits, PaletteIndex::pi0, static_cast<size_t>(dpi.width) * dpi.height);
|
||||
}
|
||||
|
||||
return dpi;
|
||||
|
||||
Reference in new issue
Block a user