1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Refactor DRAWING_ENGINE_FLAGS into FlagHolder

This commit is contained in:
Gymnasiast
2025-03-26 12:43:21 +01:00
parent ea9e348c9d
commit 41dc87c68e
6 changed files with 14 additions and 14 deletions

View File

@@ -1009,7 +1009,7 @@ namespace OpenRCT2
}
bool useParallelDrawing = false;
if (useMultithreading && (dpi.DrawingEngine->GetFlags() & DEF_PARALLEL_DRAWING))
if (useMultithreading && dpi.DrawingEngine->GetFlags().has(DrawingEngineFlag::parallelDrawing))
{
useParallelDrawing = true;
}