Commit 1bbc65b1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d8: Deleting an invalid pixel shader handle should return D3D_OK.

parent dc3958c0
......@@ -2308,7 +2308,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_DeletePixelShader(LPDIRECT3DDEVICE8 i
{
WARN("Invalid handle (%#x) passed.\n", pShader);
LeaveCriticalSection(&d3d8_cs);
return D3DERR_INVALIDCALL;
return D3D_OK;
}
IWineD3DDevice_GetPixelShader(This->WineD3DDevice, &cur);
......
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