From d9bd54c90a92f73a7d6d512824129e97d17eab9b Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 28 Oct 2023 22:01:14 +0800 Subject: [PATCH] sync pyglet --- libs/pyglet/gl/win32.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)