From b620bf1d4367ad702df0821fbf8856aa0a7f4604 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 6 Dec 2021 12:48:32 +0000 Subject: [PATCH] Windows: Use compatibility profile when creating 3.2 context to allow deprecated function use --- 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 b272a256db..6ea6ef174b 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_CORE_PROFILE_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB, 0 };