diff --git a/lime/system/System.hx b/lime/system/System.hx index ddd6b9e2d..2b4e4d9d5 100644 --- a/lime/system/System.hx +++ b/lime/system/System.hx @@ -170,7 +170,15 @@ class System { } - display.currentMode = display.supportedModes[displayInfo.currentMode]; + if (Reflect.hasField (displayInfo, "currentMode")) { + + display.currentMode = display.supportedModes[displayInfo.currentMode]; + + } else { + + display.currentMode = new DisplayMode (0, 0, 60, ARGB32); + + } return display;