From e367393a9973342d97430643dc21fb7cb21c4f52 Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 9 Feb 2022 18:47:09 +0000 Subject: [PATCH] OpenGL: Use a core profile when OpenGL 3.2 is requested on Windows This mirrors the behaviour on macOS. --- modules/juce_opengl/native/juce_OpenGL_win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_opengl/native/juce_OpenGL_win32.h b/modules/juce_opengl/native/juce_OpenGL_win32.h index 6ea6ef174b..b272a256db 100644 --- a/modules/juce_opengl/native/juce_OpenGL_win32.h +++ b/modules/juce_opengl/native/juce_OpenGL_win32.h @@ -212,7 +212,7 @@ private: { WGL_CONTEXT_MAJOR_VERSION_ARB, 3, WGL_CONTEXT_MINOR_VERSION_ARB, 2, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, 0 };