Henri Verbeet : wined3d: Don' t update lowest_disabled_stage in wined3d_stateblock_apply().
Alexandre Julliard
julliard at winehq.org
Mon Oct 7 14:17:11 CDT 2013
Module: wine
Branch: master
Commit: 242a79a9d7377e8534b7db6b9dbf373b8f5a5961
URL: http://source.winehq.org/git/wine.git/?a=commit;h=242a79a9d7377e8534b7db6b9dbf373b8f5a5961
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Oct 6 17:33:05 2013 +0200
wined3d: Don't update lowest_disabled_stage in wined3d_stateblock_apply().
---
dlls/wined3d/stateblock.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 24c4362..2a1cb12 100644
--- a/dlls/wined3d/stateblock.c
+++ b/dlls/wined3d/stateblock.c
@@ -1133,16 +1133,6 @@ void CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblock)
wined3d_device_set_clip_plane(device, i, &stateblock->state.clip_planes[i]);
}
- stateblock->device->state.lowest_disabled_stage = MAX_TEXTURES - 1;
- for (i = 0; i < MAX_TEXTURES - 1; ++i)
- {
- if (stateblock->device->state.texture_states[i][WINED3D_TSS_COLOR_OP] == WINED3D_TOP_DISABLE)
- {
- stateblock->device->state.lowest_disabled_stage = i;
- break;
- }
- }
-
TRACE("Applied stateblock %p.\n", stateblock);
}
More information about the wine-cvs
mailing list