1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-08-11 10:12:37 -04:00

Clear buffer to black rather than transparent. Fixes #2349

This commit is contained in:
Jon Beniston 2025-08-10 11:25:38 +01:00
parent 6fedef4c45
commit 1177d97c99

View File

@ -241,7 +241,7 @@ void GLScope::paintGL()
// m_traceCounter = 0;
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);
if ((m_displayMode == DisplayX) || (m_displayMode == DisplayXYV) || (m_displayMode == DisplayXYH)) // display trace #0