Merge pull request #11 from Cacodemon345/patch-25

Fix transparency/whiteness glitches on Wayland/macOS
This commit is contained in:
Joakim L. Gilje
2021-12-04 10:33:10 +01:00
committed by GitHub

View File

@@ -31,6 +31,7 @@ public:
: QOpenGLWidget(parent), QOpenGLFunctions()
{
setMinimumSize(16, 16);
setTextureFormat(GL_RGB);
#ifdef WAYLAND
if (QApplication::platformName().contains("wayland")) {
wayland = true;