From 4e0f6a4501ec6dd4aca9b4c5cf8d09a65c281826 Mon Sep 17 00:00:00 2001 From: Oliver Stieber Date: Mon, 8 Aug 2005 11:01:17 +0000 Subject: [PATCH] Allow the WINED3DSBT_IMPL to be applied so that states can be synced between render target contexts. --- dlls/wined3d/stateblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c index b6cb92195d2..200e06e157d 100644 --- a/dlls/wined3d/stateblock.c +++ b/dlls/wined3d/stateblock.c @@ -330,7 +330,7 @@ should really perform a delta so that only the changes get updated*/ /* FIXME: Only apply applicable states not all states */ - if (/*TODO: 'magic' statetype, replace with BOOL This->blockType == D3DSBT_RECORDED || */This->blockType == D3DSBT_ALL || This->blockType == D3DSBT_VERTEXSTATE) { + if (/*TODO: 'magic' statetype, replace with BOOL This->blockType == D3DSBT_RECORDED || */This->blockType == WINED3DSBT_INIT || This->blockType == D3DSBT_ALL || This->blockType == D3DSBT_VERTEXSTATE) { PLIGHTINFOEL *toDo = This->lights;