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:
parent
074dd54536
commit
0a1b3fc136
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue