From a2a52a92fa8760f6409e21f103d0160ddf7b7a8a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Nov 2019 20:51:28 +0100 Subject: Windows: Fix GL context flags --- pugl/detail/win_gl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pugl') diff --git a/pugl/detail/win_gl.c b/pugl/detail/win_gl.c index 4cbb796..e8ecedc 100644 --- a/pugl/detail/win_gl.c +++ b/pugl/detail/win_gl.c @@ -194,6 +194,7 @@ puglWinGlCreate(PuglView* view) WGL_CONTEXT_FLAGS_ARB, (view->hints[PUGL_USE_DEBUG_CONTEXT] ? WGL_CONTEXT_DEBUG_BIT_ARB : 0), + WGL_CONTEXT_PROFILE_MASK_ARB, (view->hints[PUGL_USE_COMPAT_PROFILE] ? WGL_CONTEXT_CORE_PROFILE_BIT_ARB : WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB), -- cgit v1.2.1