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:
Henri Verbeet 2022-01-24 13:59:06 +01:00 committed by Alexandre Julliard
parent e9a109835f
commit 5a8ffed774
1 changed files with 1 additions and 1 deletions

View File

@ -4204,7 +4204,7 @@ void find_ps_compile_args(const struct wined3d_state *state, const struct wined3
} }
else 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] args->pointsprite = state->render_states[WINED3D_RS_POINTSPRITEENABLE]