From ae182fb7b552be73d8cebca7c87f6b8fa7fb4995 Mon Sep 17 00:00:00 2001 From: CrispyXYZ <64761703+CrispyXYZ@users.noreply.github.com> Date: Sun, 4 Oct 2020 01:20:27 +0800 Subject: [PATCH] fix 'OpenGL is not supported' Exception (#3202) --- desktop/src/com/unciv/app/desktop/DesktopLauncher.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt b/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt index 65582db49c..fff4dbb827 100644 --- a/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt +++ b/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt @@ -32,6 +32,8 @@ internal object DesktopLauncher { @JvmStatic fun main(arg: Array) { + + System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true") packImages()