Skip to content

Commit 57d2148

Browse files
committed
Merge pull request #520 from xlz/macosx-opengl32
opengl: Lower version to 3.2 for older Mac OSX
2 parents 563b29a + 56f6dd5 commit 57d2148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/opengl_depth_packet_processor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ OpenGLDepthPacketProcessor::OpenGLDepthPacketProcessor(void *parent_opengl_conte
863863
glfwDefaultWindowHints();
864864
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
865865
#ifdef __APPLE__
866-
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
866+
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
867867
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
868868
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
869869
#else

0 commit comments

Comments
 (0)