Set maximum compatibility OpenGL profile for wxWidgets

This commit is contained in:
vsonnier 2023-01-11 21:26:32 +01:00
parent 0e3a785bd2
commit e09e7e8381

View File

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