mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-02 13:17:48 -04:00
Merge pull request #2498 from srcejon/fix_2349
glscope: Clear buffer to black rather than transparent.
This commit is contained in:
commit
5ae8ab0bf3
@ -241,7 +241,7 @@ void GLScope::paintGL()
|
|||||||
// m_traceCounter = 0;
|
// m_traceCounter = 0;
|
||||||
|
|
||||||
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);
|
glFunctions->glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
if ((m_displayMode == DisplayX) || (m_displayMode == DisplayXYV) || (m_displayMode == DisplayXYH)) // display trace #0
|
if ((m_displayMode == DisplayX) || (m_displayMode == DisplayXYV) || (m_displayMode == DisplayXYH)) // display trace #0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user