1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Create weak enum for PaletteIndex

This commit is contained in:
Michael Steenbeek
2025-04-09 16:47:22 +02:00
committed by GitHub
parent 6693278b7f
commit cfb4b008b2
16 changed files with 200 additions and 200 deletions

View File

@@ -139,7 +139,7 @@ void X8DrawingEngine::Resize(uint32_t width, uint32_t height)
{
uint32_t pitch = width;
ConfigureBits(width, height, pitch);
_drawingContext->Clear(_bitsDPI, PALETTE_INDEX_10);
_drawingContext->Clear(_bitsDPI, PaletteIndex::pi10);
}
void X8DrawingEngine::SetPalette([[maybe_unused]] const GamePalette& palette)