diff --git a/src/engine/Engine.java b/src/engine/Engine.java index 8b84449..2f4be33 100644 --- a/src/engine/Engine.java +++ b/src/engine/Engine.java @@ -66,7 +66,7 @@ public class Engine { */ public void init() { if (!glfwInit()){ - System.exit(1); + System.exit(-1); } this.running = true; @@ -83,7 +83,7 @@ public class Engine { assert getWindow() != NULL; boolean present = glfwJoystickPresent(GLFW_JOYSTICK_1); - System.out.println("Manette détectée : " + present); + System.out.println("Manette détectée: " + present); // On récupère les informations du moniteur principal GLFWVidMode vidmode = glfwGetVideoMode(glfwGetPrimaryMonitor());