[PATCH 0/1] MR9827: wined3d: Invalidate FFP PS settings when FOGVERTEXMODE changes.
From: Elizabeth Figura <zfigura@codeweavers.com> Fixes a test failure in test_negative_fixedfunction_fog() spotted by Alexandre Julliard. --- dlls/wined3d/stateblock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c index 1871c13ab58..732dcae745b 100644 --- a/dlls/wined3d/stateblock.c +++ b/dlls/wined3d/stateblock.c @@ -1724,6 +1724,8 @@ void CDECL wined3d_stateblock_set_render_state(struct wined3d_stateblock *stateb case WINED3D_RS_FOGVERTEXMODE: stateblock->changed.ffp_vs_settings = 1; + /* FIXME: Should only be VS. */ + stateblock->changed.ffp_ps_settings = 1; stateblock->changed.fog_constants = 1; break; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9827
participants (2)
-
Elizabeth Figura -
Elizabeth Figura (@zfigura)