From ddc40523d2611763dd9fa59111755be2c40bde4a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 12 May 2024 12:21:32 -0400 Subject: [PATCH] v2.4.0: adjusted desktop error message due to window creation errors --- .../shatteredpixeldungeon/desktop/DesktopLauncher.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java index 486d824e4..2ec7de03f 100644 --- a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java +++ b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java @@ -95,9 +95,11 @@ public class DesktopLauncher { if (exceptionMsg.contains("Couldn’t 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" +