Stefan Dösinger : ddraw: Handle mipmapped mag filters by ignoring the mipmap parameter.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 15 12:52:23 CST 2007


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Feb 15 13:49:34 2007 +0100

ddraw: Handle mipmapped mag filters by ignoring the mipmap parameter.

---

 dlls/ddraw/device.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index ab77a26..c201df7 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -2300,9 +2300,11 @@ IDirect3DDeviceImpl_7_SetRenderState(IDirect3DDevice7 *iface,
             switch ((D3DTEXTUREFILTER) Value)
             {
                 case D3DFILTER_NEAREST:
+                case D3DFILTER_LINEARMIPNEAREST:
                     tex_mag = WINED3DTEXF_POINT;
                     break;
                 case D3DFILTER_LINEAR:
+                case D3DFILTER_LINEARMIPLINEAR:
                     tex_mag = WINED3DTEXF_LINEAR;
                     break;
                 default:




More information about the wine-cvs mailing list