mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Avoid accidentally getting a non-compat context on Windows Catalyst driver
This commit is contained in:
parent
62cefcab8b
commit
6a782e8c31
@ -644,8 +644,10 @@ make_context(HDC hdc) {
|
||||
attrib_list[n++] = WGL_CONTEXT_FLAGS_ARB;
|
||||
attrib_list[n++] = WGL_CONTEXT_DEBUG_BIT_ARB;
|
||||
}
|
||||
#ifndef SUPPORT_FIXED_FUNCTION
|
||||
attrib_list[n++] = WGL_CONTEXT_PROFILE_MASK_ARB;
|
||||
attrib_list[n++] = WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
|
||||
#endif
|
||||
attrib_list[n] = NULL;
|
||||
|
||||
_context = _wglCreateContextAttribsARB(hdc, 0, attrib_list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user