mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-19 06:08:51 -04:00
OpenGL modernization: GLScope: make sure openGL functions are called through QOpenGLFunctions
This commit is contained in:
@@ -509,7 +509,7 @@ void GLSpectrum::initializeGL()
|
||||
}
|
||||
|
||||
connect(glCurrentContext, &QOpenGLContext::aboutToBeDestroyed, this, &GLSpectrum::cleanup); // TODO: when migrating to QOpenGLWidget
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
//glDisable(GL_DEPTH_TEST);
|
||||
m_glShaderSimple.initializeGL();
|
||||
m_glShaderLeftScale.initializeGL();
|
||||
m_glShaderFrequencyScale.initializeGL();
|
||||
|
||||
Reference in New Issue
Block a user