1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

OpenGL: Use a core profile when OpenGL 3.2 is requested on Windows

This mirrors the behaviour on macOS.
This commit is contained in:
reuk 2022-02-09 18:47:09 +00:00
parent 199885baa8
commit e367393a99
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -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
};