diff options
author | David Robillard <d@drobilla.net> | 2019-11-03 20:51:28 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-11-03 20:51:28 +0100 |
commit | a2a52a92fa8760f6409e21f103d0160ddf7b7a8a (patch) | |
tree | 7bacddba095312bcc703fcdffe04227ce39fe805 | |
parent | 184cd0129016afb653e63fd9d4d7762b682fc758 (diff) |
Windows: Fix GL context flags
-rw-r--r-- | pugl/detail/win_gl.c | 1 |
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), |