Browse Source

Update glfw window hint to OpenGL 4.5

master
Rick van Vonderen 5 years ago
parent
commit
650538b9ea
  1. 2
      inferno/src/inferno/window.cpp

2
inferno/src/inferno/window.cpp

@ -48,7 +48,7 @@ namespace Inferno {
// Set window properties // Set window properties
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
// glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); // glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);

Loading…
Cancel
Save