aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}