Zebediah Figura : wined3d: Set the correct matrix in wined3d_device_multiply_transform().
Alexandre Julliard
julliard at winehq.org
Tue Feb 5 16:01:33 CST 2019
Module: wine
Branch: master
Commit: f2578fc1b1d54b26185813cd1fe94f5b2804c5d3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f2578fc1b1d54b26185813cd1fe94f5b2804c5d3
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sat Feb 2 10:28:40 2019 -0600
wined3d: Set the correct matrix in wined3d_device_multiply_transform().
Fixes a regression introduced by 7163fbba85b0f27f5bedb22291a6f53d2b507cdd.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46565
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index dee99dc..2b0b38d 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -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
More information about the wine-cvs
mailing list