From e09e7e8381acc753fa35bee870e977a0f9dc4321 Mon Sep 17 00:00:00 2001 From: vsonnier Date: Wed, 11 Jan 2023 21:26:32 +0100 Subject: [PATCH] Set maximum compatibility OpenGL profile for wxWidgets --- src/CubicSDR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CubicSDR.cpp b/src/CubicSDR.cpp index c93c6e5..6fe9f57 100644 --- a/src/CubicSDR.cpp +++ b/src/CubicSDR.cpp @@ -225,7 +225,7 @@ CubicSDR::CubicSDR() : frequency(0), offset(0), ppm(0), snap(1), sampleRate(DEFA m_glContextAttributes = new wxGLContextAttrs(); wxGLContextAttrs glSettings; - glSettings.PlatformDefaults().EndList(); + glSettings.CompatibilityProfile().EndList(); *m_glContextAttributes = glSettings; }