mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Add debug option to show dirty blocks
This commit is contained in:
@@ -369,6 +369,10 @@ void X8DrawingEngine::ConfigureBits(uint32 width, uint32 height, uint32 pitch)
|
||||
#endif
|
||||
}
|
||||
|
||||
void X8DrawingEngine::OnDrawDirtyBlock(uint32 x, uint32 y, uint32 columns, uint32 rows)
|
||||
{
|
||||
}
|
||||
|
||||
void X8DrawingEngine::ConfigureDirtyGrid()
|
||||
{
|
||||
_dirtyGrid.BlockShiftX = 7;
|
||||
@@ -466,6 +470,7 @@ void X8DrawingEngine::DrawDirtyBlocks(uint32 x, uint32 y, uint32 columns, uint32
|
||||
}
|
||||
|
||||
// Draw region
|
||||
OnDrawDirtyBlock(x, y, columns, rows);
|
||||
window_draw_all(&_bitsDPI, left, top, right, bottom);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user