aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/detail/win_gl.c1
1 files changed, 1 insertions, 0 deletions
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),