diff --git a/libs/pyglet/gl/win32.py b/libs/pyglet/gl/win32.py index 6cef71a..6e5b67f 100644 --- a/libs/pyglet/gl/win32.py +++ b/libs/pyglet/gl/win32.py @@ -244,7 +244,7 @@ class Win32ARBContext(_BaseWin32Context): if self.config.forward_compatible: flags |= wglext_arb.WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB if self.config.debug: - flags |= wglext_arb.WGL_DEBUG_BIT_ARB + flags |= wglext_arb.WGL_CONTEXT_DEBUG_BIT_ARB if flags: attribs.extend([wglext_arb.WGL_CONTEXT_FLAGS_ARB, flags]) attribs.append(0)