mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 11:54:47 +00:00
wined3d: Update fragment program constants when switching from arb ffp draws.
This commit is contained in:
parent
06010471c2
commit
7b5bf3d4d6
@ -6536,7 +6536,11 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
|
||||
state_arb_specularenable(context, state, STATE_RENDER(WINED3D_RS_SPECULARENABLE));
|
||||
}
|
||||
context->last_was_pshader = FALSE;
|
||||
} else {
|
||||
}
|
||||
else if (!context->last_was_pshader)
|
||||
{
|
||||
if (device->shader_backend == &arb_program_shader_backend)
|
||||
context->constant_update_mask |= WINED3D_SHADER_CONST_PS_F;
|
||||
context->last_was_pshader = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user