Commit 95d74311 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

d3d9: Stop setting the device state in d3d9_device_SetFVF().

parent f4db2de5
......@@ -3440,8 +3440,6 @@ static HRESULT WINAPI d3d9_device_SetFVF(IDirect3DDevice9Ex *iface, DWORD fvf)
}
wined3d_stateblock_set_vertex_declaration(device->update_state, decl);
if (!device->recording)
wined3d_device_set_vertex_declaration(device->wined3d_device, decl);
device->has_vertex_declaration = TRUE;
wined3d_mutex_unlock();
......
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