Meilleur gestion d'erreur dans Engine.init()

This commit is contained in:
Antoine 2021-06-10 14:22:45 +02:00
parent 1f0a14bb23
commit b363cbc9c7

View File

@ -66,7 +66,7 @@ public class Engine {
*/ */
public void init() { public void init() {
if (!glfwInit()){ if (!glfwInit()){
System.exit(1); System.exit(-1);
} }
this.running = true; this.running = true;