From 7572e2764cbdd5f686bb96fad06789e92958ae3e Mon Sep 17 00:00:00 2001 From: sarbes Date: Sun, 7 Jul 2024 16:32:33 +0200 Subject: Fix texture edge clamping (#25444) --- xbmc/guilib/TextureBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xbmc/guilib/TextureBase.cpp b/xbmc/guilib/TextureBase.cpp index 5c2c01e22b..63c510ff94 100644 --- a/xbmc/guilib/TextureBase.cpp +++ b/xbmc/guilib/TextureBase.cpp @@ -127,6 +127,7 @@ void CTextureBase::ClampToEdge() for (uint32_t x = imagePitch; x < texturePitch; x += blockSize) memcpy(dst + x, src, blockSize); dst += texturePitch; + src += texturePitch; } } -- cgit v1.2.3