d3d9: Drop a superfluous cast in IDirect3DDevice9Impl_CreateOffscreenPlainSurface.

This commit is contained in:
Andrew Nguyen 2011-05-31 05:56:33 -05:00 committed by Alexandre Julliard
parent 14e199ff6b
commit c4a6c25378
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}