Skip to content
Snippets Groups Projects
Unverified Commit aaded27c authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #234 from s-ol/linux-gl-interop-fix

Fix OpenGL interop segfaults on Linux
parents 7639f51c 0f916c32
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -413,7 +413,7 @@ def get_gl_sharing_context_properties(): ...@@ -413,7 +413,7 @@ def get_gl_sharing_context_properties():
if sys.platform in ["linux", "linux2"]: if sys.platform in ["linux", "linux2"]:
from OpenGL import GLX from OpenGL import GLX
props.append( props.append(
(ctx_props.GL_CONTEXT_KHR, gl_platform.GetCurrentContext())) (ctx_props.GL_CONTEXT_KHR, GLX.glXGetCurrentContext()))
props.append( props.append(
(ctx_props.GLX_DISPLAY_KHR, (ctx_props.GLX_DISPLAY_KHR,
GLX.glXGetCurrentDisplay())) GLX.glXGetCurrentDisplay()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment