This commit is contained in:
John Maguire 2010-08-18 19:28:07 +00:00
parent 2db2354e0b
commit 3b6fda9627
1 changed files with 1 additions and 1 deletions

View File

@ -24,8 +24,8 @@ void GLBlockAnalyzer::initializeGL() {
qDebug() << Q_FUNC_INFO;
QColor background_color = QApplication::palette().color(QPalette::Window);
qglClearColor(background_color);
glClearColor(background_color.redF(), background_color.greenF(), background_color.blueF(), 1.0);
glDisable(GL_DEPTH_TEST);
shader_.addShaderFromSourceFile(QGLShader::Vertex, ":shaders/glblock_vert.glsl");