From c4a6c253787c1c1e4d680cc806b6f87c3224a2bb Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Tue, 31 May 2011 05:56:33 -0500 Subject: [PATCH] d3d9: Drop a superfluous cast in IDirect3DDevice9Impl_CreateOffscreenPlainSurface. --- dlls/d3d9/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 2af2c82460a..a95fa1653d2 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; }