d3d9: Update the primary stateblock in d3d9_device_MultiplyTransform().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-12-03 22:23:24 -06:00 committed by Alexandre Julliard
parent 98472693b0
commit 5b9a5ec400
1 changed files with 1 additions and 0 deletions

View File

@ -2120,6 +2120,7 @@ static HRESULT WINAPI d3d9_device_MultiplyTransform(IDirect3DDevice9Ex *iface,
/* Note: D3DMATRIX is compatible with struct wined3d_matrix. */
wined3d_mutex_lock();
wined3d_stateblock_multiply_transform(device->state, state, (const struct wined3d_matrix *)matrix);
wined3d_device_multiply_transform(device->wined3d_device, state, (const struct wined3d_matrix *)matrix);
wined3d_mutex_unlock();