aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/CEScaler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wince/CEScaler.cpp')
-rw-r--r--backends/platform/wince/CEScaler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/platform/wince/CEScaler.cpp b/backends/platform/wince/CEScaler.cpp
index 32c027f148..85151dafe5 100644
--- a/backends/platform/wince/CEScaler.cpp
+++ b/backends/platform/wince/CEScaler.cpp
@@ -95,7 +95,7 @@ void PocketPCLandscapeAspect(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr
uint16 srcPitch16 = (uint16)(srcPitch / sizeof(uint16));
uint16 dstPitch16 = (uint16)(dstPitch / sizeof(uint16));
- for (i = 0; i < height/6; i++) {
+ for (i = 0; i < height/5; i++) {
for (j=0; j < width; j++) {
p1 = *((uint16*)inbuf+j); inbuf += srcPitch16;
*((uint16*)outbuf+j) = p1; outbuf += dstPitch16;
@@ -187,7 +187,6 @@ void PocketPCHalfZoom(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint3
}
}
-//#ifdef WIN32_PLATFORM_WFSP
void SmartphoneLandscape(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
uint8 *work;
int i;
@@ -218,5 +217,3 @@ void SmartphoneLandscape(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, ui
}
}
}
-//#endif
-