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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user