mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-08-04 14:42:26 -04:00
Set maximum compatibility OpenGL profile for wxWidgets
This commit is contained in:
parent
0e3a785bd2
commit
e09e7e8381
@ -225,7 +225,7 @@ CubicSDR::CubicSDR() : frequency(0), offset(0), ppm(0), snap(1), sampleRate(DEFA
|
|||||||
m_glContextAttributes = new wxGLContextAttrs();
|
m_glContextAttributes = new wxGLContextAttrs();
|
||||||
|
|
||||||
wxGLContextAttrs glSettings;
|
wxGLContextAttrs glSettings;
|
||||||
glSettings.PlatformDefaults().EndList();
|
glSettings.CompatibilityProfile().EndList();
|
||||||
|
|
||||||
*m_glContextAttributes = glSettings;
|
*m_glContextAttributes = glSettings;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user