From 53e2e627fa52bc4841e19e06e8c0a8bd4aee6300 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Fri, 23 Oct 2020 15:34:23 +0200 Subject: [PATCH] #52 add WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB for macOS --- src/render_ogl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render_ogl.c b/src/render_ogl.c index 2400e4d..0e033d1 100644 --- a/src/render_ogl.c +++ b/src/render_ogl.c @@ -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 };