wined3d: Use wined3d_mask_from_size() in wined3d_ffp_get_fs_settings().

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-20 17:30:55 +01:00 committed by Alexandre Julliard
parent 074dd54536
commit 0a1b3fc136
1 changed files with 1 additions and 1 deletions

View File

@ -6549,7 +6549,7 @@ void wined3d_ffp_get_fs_settings(const struct wined3d_context *context, const st
}
else
{
settings->texcoords_initialized = (1u << WINED3D_MAX_TEXTURES) - 1;
settings->texcoords_initialized = wined3d_mask_from_size(WINED3D_MAX_TEXTURES);
}
settings->pointsprite = state->render_states[WINED3D_RS_POINTSPRITEENABLE]