Zebediah Figura : wined3d: Mark the stateblock as dirty in wined3d_stateblock_multiply_transform().
Alexandre Julliard
julliard at winehq.org
Thu Jul 9 17:10:39 CDT 2020
Module: wine
Branch: master
Commit: d117156862c72632135f162e9bbaf6b2f0f5087f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d117156862c72632135f162e9bbaf6b2f0f5087f
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed Jul 8 10:48:45 2020 -0500
wined3d: Mark the stateblock as dirty in wined3d_stateblock_multiply_transform().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49422
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/stateblock.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 4272d5aef2..b5ab0e72eb 100644
--- a/dlls/wined3d/stateblock.c
+++ b/dlls/wined3d/stateblock.c
@@ -1424,6 +1424,8 @@ void CDECL wined3d_stateblock_multiply_transform(struct wined3d_stateblock *stat
TRACE("%.8e %.8e %.8e %.8e\n", matrix->_41, matrix->_42, matrix->_43, matrix->_44);
multiply_matrix(mat, mat, matrix);
+ stateblock->changed.transform[d3dts >> 5] |= 1u << (d3dts & 0x1f);
+ stateblock->changed.transforms = 1;
}
HRESULT CDECL wined3d_stateblock_set_clip_plane(struct wined3d_stateblock *stateblock,
More information about the wine-cvs
mailing list