v2.4.0: adjusted desktop error message due to window creation errors
This commit is contained in:
@@ -95,9 +95,11 @@ public class DesktopLauncher {
|
|||||||
if (exceptionMsg.contains("Couldn’t create window")){
|
if (exceptionMsg.contains("Couldn’t create window")){
|
||||||
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
|
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
|
||||||
title + " was not able to initialize its graphics display, sorry about that!\n\n" +
|
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" +
|
"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 be working on your computer, feel free to message the developer (Evan@ShatteredPixel.com)\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, "ok", "error", false);
|
"version: " + Game.version + "\n" +
|
||||||
|
exceptionMsg,
|
||||||
|
"ok", "error", false);
|
||||||
} else {
|
} else {
|
||||||
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
|
TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
|
||||||
title + " has run into an error it cannot recover from and has crashed, sorry about that!\n\n" +
|
title + " has run into an error it cannot recover from and has crashed, sorry about that!\n\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user