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:
parent
019ec46602
commit
f2578fc1b1
|
@ -1544,7 +1544,7 @@ void CDECL wined3d_device_multiply_transform(struct wined3d_device *device,
|
||||||
* into the primary stateblock. */
|
* into the primary stateblock. */
|
||||||
mat = &device->state.transforms[state];
|
mat = &device->state.transforms[state];
|
||||||
multiply_matrix(mat, mat, matrix);
|
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
|
/* Note lights are real special cases. Although the device caps state only
|
||||||
|
|
Loading…
Reference in New Issue