diff --git a/examples/gl_interop_demo.py b/examples/gl_interop_demo.py index 468564cd0efb578ad450e587642d14f7fa3f6d23..02469762c5cae702b0367212732acf40fbbb0573 100644 --- a/examples/gl_interop_demo.py +++ b/examples/gl_interop_demo.py @@ -33,7 +33,7 @@ def initialize(): props.append( (ctx_props.GLX_DISPLAY_KHR, GLX.glXGetCurrentDisplay())) - elif sys.platform == "nt": + elif sys.platform == "win32": props.append( (ctx_props.WGL_HDC_KHR, WGL.wglGetCurrentDC()))