Henri Verbeet : ddraw: Use a linear filter in ddraw_surface7_Blt().

Alexandre Julliard julliard at winehq.org
Tue Oct 12 11:27:00 CDT 2010


Module: wine
Branch: master
Commit: 4d19daaa71b9db6990198d9feb2ea364b2b65558
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4d19daaa71b9db6990198d9feb2ea364b2b65558

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Oct 12 13:40:01 2010 +0200

ddraw: Use a linear filter in ddraw_surface7_Blt().

---

 dlls/ddraw/surface.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index badd46b..8c8fb89 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -907,13 +907,8 @@ static HRESULT WINAPI ddraw_surface7_Blt(IDirectDrawSurface7 *iface, RECT *DestR
      * and replace the ddraw surfaces with the wined3d surfaces
      * So far no blitting operations using surfaces in the bltfx struct are supported anyway.
      */
-    hr = IWineD3DSurface_Blt(This->WineD3DSurface,
-                             DestRect,
-                             Src ? Src->WineD3DSurface : NULL,
-                             SrcRect,
-                             Flags,
-                             (WINEDDBLTFX *) DDBltFx,
-                             WINED3DTEXF_POINT);
+    hr = IWineD3DSurface_Blt(This->WineD3DSurface, DestRect, Src ? Src->WineD3DSurface : NULL,
+            SrcRect, Flags, (WINEDDBLTFX *)DDBltFx, WINED3DTEXF_LINEAR);
 
     LeaveCriticalSection(&ddraw_cs);
     switch(hr)




More information about the wine-cvs mailing list