Module: wine Branch: master Commit: f781be07fc2927bc8e6693053782f0e6068c55f5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f781be07fc2927bc8e66930537...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Sun Aug 15 23:52:30 2010 +0200
d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data; remove them.
---
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);