aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ios7/ios7_video.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 1660dd4612..10900b4d55 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -515,7 +515,7 @@ uint getSizeNextPOT(uint size) {
memset(_scalerMemorySrc, 0, _videoContext.screenTexture.pitch * 2);
// Copy original buffer
memcpy(_scalerMemorySrc + _videoContext.screenTexture.pitch * 2, _videoContext.screenTexture.getPixels(), _videoContext.screenTexture.pitch * _videoContext.screenTexture.h);
- // Clear two linex after
+ // Clear two lines after
memset(_scalerMemorySrc + _videoContext.screenTexture.pitch * (2 + _videoContext.screenTexture.h), 0, _videoContext.screenTexture.pitch * 2);
// Apply scaler
_scaler(_scalerMemorySrc + _videoContext.screenTexture.pitch * 2,