1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 03:09:14 -05:00

Clear with alpha=1 to fix #1735

This commit is contained in:
Jon Beniston 2023-07-31 21:43:15 +01:00
parent e7b0921c50
commit 37285a9bce

View File

@ -975,7 +975,7 @@ void GLSpectrumView::paintGL()
} }
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions(); 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); glFunctions->glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
QMatrix4x4 spectrogramGridMatrix; QMatrix4x4 spectrogramGridMatrix;