kopia lustrzana https://github.com/f4exb/sdrangel
				
				
				
			Clear buffer to black rather than transparent. Fixes #2349
							rodzic
							
								
									6fedef4c45
								
							
						
					
					
						commit
						1177d97c99
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue