Force AlphaBuffer to be 0 (#6217)

This commit is contained in:
Cacodemon345
2025-09-23 22:31:12 +06:00
committed by GitHub
parent 288b6454ee
commit 236007b4c8

View File

@@ -832,6 +832,7 @@ OpenGLRenderer::OpenGLRenderer(QWidget *parent)
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile);
format.setRenderableType(QSurfaceFormat::OpenGL);
format.setSwapInterval(video_vsync ? 1 : 0);
format.setAlphaBufferSize(0);
setFormat(format);