Not specifying GLFW compatibility mode and OpenGL version allows for
annotation.
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user