mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-18 14:21:49 -05:00
Merge pull request #1756 from srcejon/fix_1735
Clear OpenGL buffer with alpha=1
This commit is contained in:
commit
9e262a1f1c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user