mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Add DISABLE_OPENGL guard in ZoomLevel::min
This commit is contained in:
@@ -1976,10 +1976,12 @@ void viewport_set_saved_view()
|
||||
|
||||
ZoomLevel ZoomLevel::min()
|
||||
{
|
||||
#ifndef DISABLE_OPENGL
|
||||
if (drawing_engine_get_type() == DrawingEngine::OpenGL)
|
||||
{
|
||||
return ZoomLevel{ -2 };
|
||||
}
|
||||
#endif
|
||||
|
||||
return ZoomLevel{ 0 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user