wined3d: Do not copy the saved states structure into the primary stateblock.

This commit is contained in:
Stefan Dösinger 2007-07-31 17:14:18 +02:00 committed by Alexandre Julliard
parent 92ce028a0b
commit 274f77d497
1 changed files with 0 additions and 1 deletions

View File

@ -807,7 +807,6 @@ should really perform a delta so that only the changes get updated*/
This->renderState[This->contained_render_states[i]]);
}
stateblock_savedstates_copy(iface, &((IWineD3DDeviceImpl*)pDevice)->stateBlock->changed, &This->changed);
((IWineD3DDeviceImpl *)pDevice)->stateBlock->lowest_disabled_stage = MAX_TEXTURES - 1;
for(j = 0; j < MAX_TEXTURES - 1; j++) {
if(((IWineD3DDeviceImpl *)pDevice)->stateBlock->textureState[j][WINED3DTSS_COLOROP] == WINED3DTOP_DISABLE) {