fix 'OpenGL is not supported' Exception (#3202)

This commit is contained in:
CrispyXYZ 2020-10-04 01:20:27 +08:00 committed by GitHub
parent 300c7179e7
commit ae182fb7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ internal object DesktopLauncher {
@JvmStatic
fun main(arg: Array<String>) {
System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true")
packImages()