From 802918dd11eba3382ae9607babf01db47e232f58 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 11 Jun 2021 20:28:55 +0400 Subject: [PATCH] Disable blend before painting explicitly. --- ui/gl/gl_surface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/gl/gl_surface.cpp b/ui/gl/gl_surface.cpp index b42aa54..b27c44e 100644 --- a/ui/gl/gl_surface.cpp +++ b/ui/gl/gl_surface.cpp @@ -96,6 +96,7 @@ void SurfaceOpenGL::paintEvent(QPaintEvent *e) { f->glClearColor(bg->redF(), bg->greenF(), bg->blueF(), bg->alphaF()); f->glClear(GL_COLOR_BUFFER_BIT); } + f->glDisable(GL_BLEND); f->glViewport( 0, 0,