http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b27cdf
)
d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data...
author
Gerald Pfeifer
<gerald@pfeifer.com>
Sun, 15 Aug 2010 21:52:30 +0000
(23:52 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 16 Aug 2010 15:28:55 +0000
(17:28 +0200)
dlls/d3dx9_36/surface.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/d3dx9_36/surface.c
b/dlls/d3dx9_36/surface.c
index 82881bc3f3b7aca159156382d1ef22c36046e215..487f06f00254033ff32488600e6142958a822e0f 100644
(file)
--- 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);