wined3d: Correctly count used stages in the atifs pipeline.

This commit is contained in:
Stefan Dösinger 2012-12-05 09:01:34 +01:00 committed by Alexandre Julliard
parent 7b95df03c6
commit 33802da4f3
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ static void set_tex_op_atifs(struct wined3d_context *context, const struct wined
{
if (settings.op[i].cop == WINED3D_TOP_DISABLE)
break;
new_desc->num_textures_used = i;
new_desc->num_textures_used = i + 1;
}
memcpy(&new_desc->parent.settings, &settings, sizeof(settings));