Fix transparency/whiteness glitches on Wayland/macOS

This commit is contained in:
Cacodemon345
2021-12-04 02:14:06 +06:00
committed by GitHub
parent b34737a7e7
commit 5c2682ff8c

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;