d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data; remove them.
Gerald Pfeifer
gerald at pfeifer.com
Sun Aug 15 16:52:30 CDT 2010
Probably copy&paste when creating this function?
Gerald
---
dlls/d3dx9_36/surface.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c
index 82881bc..487f06f 100644
--- a/dlls/d3dx9_36/surface.c
+++ b/dlls/d3dx9_36/surface.c
@@ -573,15 +573,11 @@ static void point_filter_simple_data(CONST BYTE *src, UINT srcpitch, POINT sr
struct argb_conversion_info conv_info;
DWORD channels[4];
- UINT minwidth, minheight;
UINT x, y;
ZeroMemory(channels, sizeof(channels));
init_argb_conversion_info(srcformat, destformat, &conv_info);
- minwidth = (srcsize.x < destsize.x) ? srcsize.x : destsize.x;
- minheight = (srcsize.y < destsize.y) ? srcsize.y : destsize.y;
-
for(y = 0;y < destsize.y;y++) {
BYTE *destptr = dest + y * destpitch;
const BYTE *bufptr = src + srcpitch * (y * srcsize.y / destsize.y);
--
1.6.6.2
More information about the wine-patches
mailing list