v2.4.0: adjusted desktop error message due to window creation errors

This commit is contained in:
Evan Debenham
2024-05-12 12:21:32 -04:00
parent 820290eb1a
commit ddc40523d2

View File

@@ -95,9 +95,11 @@ public class DesktopLauncher {
if (exceptionMsg.contains("Couldnt create window")){
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
title + " was not able to initialize its graphics display, sorry about that!\n\n" +
"This usually happens when your graphics card does not support OpenGL 2.0+, or has misconfigured graphics drivers.\n\n" +
"If you are certain the game should be working on your computer, feel free to message the developer (Evan@ShatteredPixel.com)\n\n" +
"version: " + Game.version, "ok", "error", false);
"This usually happens when your graphics card has misconfigured drivers or does not support openGL 2.0+.\n\n" +
"If you are certain the game should work on your computer, please message the developer (Evan@ShatteredPixel.com)\n\n" +
"version: " + Game.version + "\n" +
exceptionMsg,
"ok", "error", false);
} else {
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
title + " has run into an error it cannot recover from and has crashed, sorry about that!\n\n" +