Commit 5a8ffed7 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Use wined3d_mask_from_size() in find_ps_compile_args().

parent e9a10983
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment