wined3d: Set the correct matrix in wined3d_device_multiply_transform().

Fixes a regression introduced by 7163fbba85.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46565
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-02-02 10:28:40 -06:00 committed by Alexandre Julliard
parent 019ec46602
commit f2578fc1b1
1 changed files with 1 additions and 1 deletions

View File

@ -1544,7 +1544,7 @@ void CDECL wined3d_device_multiply_transform(struct wined3d_device *device,
* into the primary stateblock. */
mat = &device->state.transforms[state];
multiply_matrix(mat, mat, matrix);
wined3d_cs_emit_set_transform(device->cs, state, matrix);
wined3d_cs_emit_set_transform(device->cs, state, mat);
}
/* Note lights are real special cases. Although the device caps state only