Meilleur gestion d'erreur dans Engine.init()
This commit is contained in:
parent
1f0a14bb23
commit
b363cbc9c7
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user