Merge pull request #1756 from srcejon/fix_1735

Clear OpenGL buffer with alpha=1
pull/1758/head
Edouard Griffiths 2023-08-01 08:20:34 +02:00 zatwierdzone przez GitHub
commit 9e262a1f1c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;