d3d8: Deleting an invalid pixel shader handle should return D3D_OK.
This commit is contained in:
parent
dc3958c079
commit
1bbc65b155
|
@ -2308,7 +2308,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_DeletePixelShader(LPDIRECT3DDEVICE8 i
|
||||||
{
|
{
|
||||||
WARN("Invalid handle (%#x) passed.\n", pShader);
|
WARN("Invalid handle (%#x) passed.\n", pShader);
|
||||||
LeaveCriticalSection(&d3d8_cs);
|
LeaveCriticalSection(&d3d8_cs);
|
||||||
return D3DERR_INVALIDCALL;
|
return D3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
IWineD3DDevice_GetPixelShader(This->WineD3DDevice, &cur);
|
IWineD3DDevice_GetPixelShader(This->WineD3DDevice, &cur);
|
||||||
|
|
Loading…
Reference in New Issue