From 8602bab9f6b8435053217441ce0cda24d463c9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 31 May 2023 00:55:46 +0200 Subject: [PATCH] Use QOpenGLTexture::ClampToEdge to fix darb border issue --- src/util/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/texture.cpp b/src/util/texture.cpp index 65763ce6c4e..869063d9038 100644 --- a/src/util/texture.cpp +++ b/src/util/texture.cpp @@ -7,7 +7,7 @@ QOpenGLTexture* createTexture(const QImage& image) { QOpenGLTexture* pTexture = new QOpenGLTexture(image); pTexture->setMinificationFilter(QOpenGLTexture::Linear); pTexture->setMagnificationFilter(QOpenGLTexture::Linear); - pTexture->setWrapMode(QOpenGLTexture::ClampToBorder); + pTexture->setWrapMode(QOpenGLTexture::ClampToEdge); return pTexture; }