From 5c2682ff8cfbe821f4931969e392292a74c9e348 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 4 Dec 2021 02:14:06 +0600 Subject: [PATCH] Fix transparency/whiteness glitches on Wayland/macOS --- src/qt/qt_gleswidget.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_gleswidget.hpp b/src/qt/qt_gleswidget.hpp index c5f4087b0..467546c2c 100644 --- a/src/qt/qt_gleswidget.hpp +++ b/src/qt/qt_gleswidget.hpp @@ -31,6 +31,7 @@ public: : QOpenGLWidget(parent), QOpenGLFunctions() { setMinimumSize(16, 16); + setTextureFormat(GL_RGB); #ifdef WAYLAND if (QApplication::platformName().contains("wayland")) { wayland = true;