From 63023152fed2df79e88619e671a80a3090d1d18a Mon Sep 17 00:00:00 2001 From: "Florian Richer (MrDev023)" Date: Sun, 6 Mar 2016 14:21:22 +0100 Subject: [PATCH] Update to OpenGL 3.3 --- Diffuse light/src/fr/technicalgames/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);