Skip to content

Commit

Permalink
Merge pull request #520 from xlz/macosx-opengl32
Browse files Browse the repository at this point in the history
opengl: Lower version to 3.2 for older Mac OSX
  • Loading branch information
floe committed Jan 10, 2016
2 parents 563b29a + 56f6dd5 commit 57d2148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opengl_depth_packet_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ OpenGLDepthPacketProcessor::OpenGLDepthPacketProcessor(void *parent_opengl_conte
glfwDefaultWindowHints();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
#ifdef __APPLE__
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
#else
Expand Down

0 comments on commit 57d2148

Please sign in to comment.