wined3d: Use wined3d_mask_from_size() in find_ps_compile_args().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e9a109835f
commit
5a8ffed774
|
@ -4204,7 +4204,7 @@ void find_ps_compile_args(const struct wined3d_state *state, const struct wined3
|
|||
}
|
||||
else
|
||||
{
|
||||
args->texcoords_initialized = (1u << WINED3D_MAX_TEXTURES) - 1;
|
||||
args->texcoords_initialized = wined3d_mask_from_size(WINED3D_MAX_TEXTURES);
|
||||
}
|
||||
|
||||
args->pointsprite = state->render_states[WINED3D_RS_POINTSPRITEENABLE]
|
||||
|
|
Loading…
Reference in New Issue