Andrew Nguyen : d3d9: Drop a superfluous cast in IDirect3DDevice9Impl_CreateOffscreenPlainSurface .

Alexandre Julliard julliard at winehq.org
Tue May 31 13:08:19 CDT 2011


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

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Tue May 31 05:56:33 2011 -0500

d3d9: Drop a superfluous cast in IDirect3DDevice9Impl_CreateOffscreenPlainSurface.

---

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

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 2af2c82..a95fa16 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -1130,7 +1130,7 @@ static HRESULT  WINAPI  IDirect3DDevice9Impl_CreateOffscreenPlainSurface(IDirect
         */
     hr = IDirect3DDevice9Impl_CreateSurface(This, Width, Height, Format, TRUE /* Lockable */,
             FALSE /* Discard */, 0 /* Level */, ppSurface, 0 /* Usage (undefined/none) */,
-            (WINED3DPOOL)Pool, D3DMULTISAMPLE_NONE, 0 /* MultisampleQuality */);
+            Pool, D3DMULTISAMPLE_NONE, 0 /* MultisampleQuality */);
 
     return hr;
 }




More information about the wine-cvs mailing list