1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

#52 add WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB for macOS

This commit is contained in:
FunkyFr3sh 2020-10-23 15:34:23 +02:00
parent 7d4075e314
commit 53e2e627fa

View File

@ -70,6 +70,7 @@ static HGLRC ogl_create_core_context(HDC hdc)
int attribs[] = {
WGL_CONTEXT_MAJOR_VERSION_ARB, 3,
WGL_CONTEXT_MINOR_VERSION_ARB, 2,
WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
0 };