diff --git a/Diffuse light/src/fr/technicalgames/Main.java b/Diffuse light/src/fr/technicalgames/Main.java index 849b2c9..3ce9591 100644 --- a/Diffuse light/src/fr/technicalgames/Main.java +++ b/Diffuse light/src/fr/technicalgames/Main.java @@ -45,7 +45,7 @@ public class Main { glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); - glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); + glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); windowID = glfwCreateWindow(WIDTH,HEIGHT,TITLE,NULL,NULL); GLFWVidMode vidmode = glfwGetVideoMode(glfwGetPrimaryMonitor()); glfwSetWindowPos(windowID,(vidmode.width()-WIDTH)/2,(vidmode.height()-HEIGHT)/2);