aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 20:09:48 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 22:32:09 -0500
commita45fb20347d4474a2e3cacc8da3c2d3a465a3aed (patch)
tree594917e82917b71666e27ab25eb07348537c931b /src
parent426222903151173637c9a49246c182e79618bf83 (diff)
downloadpugl-a45fb20347d4474a2e3cacc8da3c2d3a465a3aed.tar.gz
pugl-a45fb20347d4474a2e3cacc8da3c2d3a465a3aed.tar.bz2
pugl-a45fb20347d4474a2e3cacc8da3c2d3a465a3aed.zip
Windows: Fix OpenGL profile hint interpretation
Diffstat (limited to 'src')
-rw-r--r--src/win_gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win_gl.c b/src/win_gl.c
index 532fd2b..444f87f 100644
--- a/src/win_gl.c
+++ b/src/win_gl.c
@@ -202,8 +202,8 @@ puglWinGlCreate(PuglView* view)
WGL_CONTEXT_PROFILE_MASK_ARB,
(view->hints[PUGL_USE_COMPAT_PROFILE]
- ? WGL_CONTEXT_CORE_PROFILE_BIT_ARB
- : WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB),
+ ? WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
+ : WGL_CONTEXT_CORE_PROFILE_BIT_ARB),
0};