sync pyglet

This commit is contained in:
shenjack 2023-10-28 22:01:14 +08:00
parent 1a81df39eb
commit d9bd54c90a
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -244,7 +244,7 @@ class Win32ARBContext(_BaseWin32Context):
if self.config.forward_compatible: if self.config.forward_compatible:
flags |= wglext_arb.WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB flags |= wglext_arb.WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
if self.config.debug: if self.config.debug:
flags |= wglext_arb.WGL_DEBUG_BIT_ARB flags |= wglext_arb.WGL_CONTEXT_DEBUG_BIT_ARB
if flags: if flags:
attribs.extend([wglext_arb.WGL_CONTEXT_FLAGS_ARB, flags]) attribs.extend([wglext_arb.WGL_CONTEXT_FLAGS_ARB, flags])
attribs.append(0) attribs.append(0)