Commit f781be07 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data; remove them.

parent 5b27cdf9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment