=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Correctly count used stages in the atifs pipeline.
Alexandre Julliard
julliard at winehq.org
Wed Dec 5 13:43:10 CST 2012
Module: wine
Branch: master
Commit: 33802da4f3fcf53960d2d5c628376eb1dda22805
URL: http://source.winehq.org/git/wine.git/?a=commit;h=33802da4f3fcf53960d2d5c628376eb1dda22805
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Dec 5 09:01:34 2012 +0100
wined3d: Correctly count used stages in the atifs pipeline.
---
dlls/wined3d/ati_fragment_shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c
index fba55ea..1b9b969 100644
--- a/dlls/wined3d/ati_fragment_shader.c
+++ b/dlls/wined3d/ati_fragment_shader.c
@@ -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));
More information about the wine-cvs
mailing list