Commit b9bf9df3 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ddraw: Stop setting the device state in d3d_device7_SetClipPlane().

parent 8af7f54a
......@@ -6526,8 +6526,6 @@ static HRESULT d3d_device7_SetClipPlane(IDirect3DDevice7 *iface, DWORD idx, D3DV
wined3d_mutex_lock();
hr = wined3d_stateblock_set_clip_plane(device->update_state, idx, wined3d_plane);
if (SUCCEEDED(hr) && !device->recording)
hr = wined3d_device_set_clip_plane(device->wined3d_device, idx, wined3d_plane);
if (idx < ARRAY_SIZE(device->user_clip_planes))
{
device->user_clip_planes[idx] = *wined3d_plane;
......
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