Not specifying GLFW compatibility mode and OpenGL version allows for

annotation.
This commit is contained in:
Mark Kim 2016-08-12 18:33:56 -06:00
parent cd27a71e2b
commit a5c3be294e

@ -58,10 +58,7 @@ void RenderTests()
vtkm::rendering::ColorTable colorTable("thermal");
glfwInit();
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_OPENGL_FORWARD_COMPAT, GL_FALSE);
GLFWwindow *window = glfwCreateWindow(WIDTH, HEIGHT, "GLFW Test", NULL, NULL);
glfwMakeContextCurrent(window);
glfwSetKeyCallback(window, keyCallback);