From 741d8b36fe473e995c066329a38c4601fbabb111 Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Sun, 1 Mar 2009 09:47:19 +0000 Subject: Cleaned out some unneeded stuff from the C blitting routines svn-id: r39025 --- backends/platform/iphone/blit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends') diff --git a/backends/platform/iphone/blit.cpp b/backends/platform/iphone/blit.cpp index b1575dc16a..642bdf84fa 100644 --- a/backends/platform/iphone/blit.cpp +++ b/backends/platform/iphone/blit.cpp @@ -33,8 +33,8 @@ void blitLandscapeScreenRect16bpp(uint16 *dst, uint16 *src, int width, int heigh *(dst++) = *src; src += screenWidth; } - dst -= screenHeight + height - 0; - src += 1 - (height - 0) * screenWidth; + dst -= screenHeight + height; + src += 1 - height * screenWidth; } } @@ -45,7 +45,7 @@ void blitLandscapeScreenRect8bpp(uint16 *dst, byte *src, int width, int height, *(dst++) = palette[*src]; src += screenWidth; } - dst -= screenHeight + height - 0; - src += 1 - (height - 0) * screenWidth; + dst -= screenHeight + height; + src += 1 - height * screenWidth; } } -- cgit v1.2.3