1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 13:19:25 -04:00

Merge pull request #1756 from srcejon/fix_1735

Clear OpenGL buffer with alpha=1
This commit is contained in:
Edouard Griffiths
2023-08-01 08:20:34 +02:00
committed by GitHub
+1 -1
View File
@@ -975,7 +975,7 @@ void GLSpectrumView::paintGL()
}
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions();
glFunctions->glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glFunctions->glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glFunctions->glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
QMatrix4x4 spectrogramGridMatrix;