Skip to content
Snippets Groups Projects
Commit abdb91b8 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix get_gl_sharing_context_properties for Py3 compatbility. (Patch by Marko Bencun)

parent 14f6b740
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ def get_gl_sharing_context_properties():
props = []
import sys
if sys.platform == "linux2":
if sys.platform in ["linux", "linux2"]:
props.append(
(ctx_props.GL_CONTEXT_KHR, gl_platform.GetCurrentContext()))
props.append(
......
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