diff options
author | sarbes <sarbes@kodi.tv> | 2024-07-07 16:32:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-07 16:32:33 +0200 |
commit | 7572e2764cbdd5f686bb96fad06789e92958ae3e (patch) | |
tree | 771c6128267f045f15379dd5e9f34c5c6dfeeeb8 | |
parent | d212b0a65700fdfa958f87c9617be3117bd89f16 (diff) |
Fix texture edge clamping (#25444)
-rw-r--r-- | xbmc/guilib/TextureBase.cpp | 1 |
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; } } |