1
0
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:
f4exb
2016-03-06 10:00:13 +01:00
parent cefb6145a2
commit 264022d2ca
2 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -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();