From c4b8db5589ec69d4ed781fceb14c6add150ddbcf Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Thu, 10 Dec 2015 09:11:01 +0100 Subject: IOS: Typo --- backends/platform/ios7/ios7_video.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform') 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, -- cgit v1.2.3