1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

do not shift viewport pixels on OpenGL

This commit is contained in:
Ted John
2016-06-05 16:41:35 +01:00
parent a8fed0c4b8
commit 932dec75d0
6 changed files with 43 additions and 5 deletions

View File

@@ -66,6 +66,16 @@ extern "C"
_drawingEngine = nullptr;
}
bool drawing_engine_has_dirty_optimisations()
{
bool result = false;
if (_drawingEngine != nullptr)
{
result = (_drawingEngine->GetFlags() & DEF_DIRTY_OPTIMISATIONS);
}
return result;
}
void gfx_set_dirty_blocks(sint16 left, sint16 top, sint16 right, sint16 bottom)
{
if (_drawingEngine != nullptr)