wined3d: Get rid of any remaining d3d9 stuff in stateblock.c.
This commit is contained in:
parent
a2fde7d912
commit
1a07d3142c
|
@ -672,7 +672,7 @@ should really perform a delta so that only the changes get updated*/
|
|||
}
|
||||
}
|
||||
|
||||
if (/*TODO: 'magic' statetype, replace with BOOL This->blockType == D3DSBT_RECORDED || */ This->blockType == D3DSBT_ALL || This->blockType == D3DSBT_PIXELSTATE) {
|
||||
if (/*TODO: 'magic' statetype, replace with BOOL This->blockType == D3DSBT_RECORDED || */ This->blockType == WINED3DSBT_ALL || This->blockType == WINED3DSBT_PIXELSTATE) {
|
||||
|
||||
/* Pixel Shader */
|
||||
if (This->set.pixelShader && This->changed.pixelShader) {
|
||||
|
@ -829,7 +829,7 @@ should really perform a delta so that only the changes get updated*/
|
|||
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][D3DTSS_COLOROP] == WINED3DTOP_DISABLE) {
|
||||
if(((IWineD3DDeviceImpl *)pDevice)->stateBlock->textureState[j][WINED3DTSS_COLOROP] == WINED3DTOP_DISABLE) {
|
||||
((IWineD3DDeviceImpl *)pDevice)->stateBlock->lowest_disabled_stage = j;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue