[PATCH 6/6] d3d9: Stop setting the device state in d3d9_device_SetFVF().
Zebediah Figura
z.figura12 at gmail.com
Thu Feb 6 19:33:28 CST 2020
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/d3d9/device.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index c59d83b11a..2d5bc77ed7 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -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();
--
2.25.0
More information about the wine-devel
mailing list