aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarbes <sarbes@kodi.tv>2024-07-07 16:32:33 +0200
committerGitHub <noreply@github.com>2024-07-07 16:32:33 +0200
commit7572e2764cbdd5f686bb96fad06789e92958ae3e (patch)
tree771c6128267f045f15379dd5e9f34c5c6dfeeeb8
parentd212b0a65700fdfa958f87c9617be3117bd89f16 (diff)
Fix texture edge clamping (#25444)
-rw-r--r--xbmc/guilib/TextureBase.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
}