diff --git a/source/d3d8to9_device.cpp b/source/d3d8to9_device.cpp index 0be6422..0e5f014 100644 --- a/source/d3d8to9_device.cpp +++ b/source/d3d8to9_device.cpp @@ -725,7 +725,6 @@ HRESULT STDMETHODCALLTYPE Direct3DDevice8::SetRenderState(D3DRENDERSTATETYPE Sta switch (static_cast(State)) { case D3DRS_ZVISIBLE: - return D3DERR_INVALIDCALL; case D3DRS_PATCHSEGMENTS: case D3DRS_LINEPATTERN: case D3DRS_SOFTWAREVERTEXPROCESSING: @@ -756,7 +755,6 @@ HRESULT STDMETHODCALLTYPE Direct3DDevice8::GetRenderState(D3DRENDERSTATETYPE Sta switch (static_cast(State)) { case D3DRS_ZVISIBLE: - return D3DERR_INVALIDCALL; case D3DRS_LINEPATTERN: *pValue = 0; return D3D_OK;