Commit 320aac97 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

d3d9: Fix variable type in IDirect3DDevice9Impl_GetSoftwareVertexProcessing.

IWineD3DDevice_GetSoftwareVertexProcessing returns a BOOL, not an HRESULT.
parent 0427cf08
......@@ -1149,13 +1149,13 @@ static HRESULT WINAPI IDirect3DDevice9Impl_SetSoftwareVertexProcessing(LPDIREC
static BOOL WINAPI IDirect3DDevice9Impl_GetSoftwareVertexProcessing(LPDIRECT3DDEVICE9EX iface) {
IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
HRESULT hr;
BOOL ret;
TRACE("(%p) Relay\n" , This);
EnterCriticalSection(&d3d9_cs);
hr = IWineD3DDevice_GetSoftwareVertexProcessing(This->WineD3DDevice);
ret = IWineD3DDevice_GetSoftwareVertexProcessing(This->WineD3DDevice);
LeaveCriticalSection(&d3d9_cs);
return hr;
return ret;
}
static HRESULT WINAPI IDirect3DDevice9Impl_SetNPatchMode(LPDIRECT3DDEVICE9EX iface, float nSegments) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment