internal rendering renders alpha channel

This commit is contained in:
itsmattkc
2019-02-07 13:20:56 -08:00
parent a380af4cb6
commit 11f9465eae
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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);
+1 -1
View File
@@ -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