diff --git a/ui/renderthread.cpp b/ui/renderthread.cpp index 409d948dc..f9e32a274 100644 --- a/ui/renderthread.cpp +++ b/ui/renderthread.cpp @@ -144,10 +144,9 @@ void RenderThread::run() { void RenderThread::paint() { glLoadIdentity(); - glClearColor(0, 0, 0, 1); + glClearColor(0.0, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); - glClearColor(0, 0, 0, 0); glMatrixMode(GL_MODELVIEW); glEnable(GL_TEXTURE_2D); diff --git a/ui/viewerwidget.cpp b/ui/viewerwidget.cpp index aa60717d0..a89279a75 100644 --- a/ui/viewerwidget.cpp +++ b/ui/viewerwidget.cpp @@ -567,7 +567,7 @@ void ViewerWidget::paintGL() { makeCurrent(); // clear to solid black - glClearColor(0.0, 0.0, 0.0, 0.0); + glClearColor(0.0, 0.0, 0.0, 1.0); glClear(GL_COLOR_BUFFER_BIT); // set color multipler to straight white