Restore rather important loop (allowing break; to break out)

This commit is contained in:
baldurk committed 2016-05-20 17:55:23 +02:00
1 parent 84528ce316
commit dfc8530d21
1 file changed
+2 -1
+2 -1
View File
@@ -5440,6 +5440,7 @@ vector<PixelModification> D3D11DebugManager::PixelHistory(vector<EventUsage> eve
// we check these in the order defined, as a positive from the backface cull test
// will invalidate tests later (as they will also be backface culled)
do
{
if(flags[i] & TestEnabled_BackfaceCulling)
{
@@ -5523,7 +5524,7 @@ vector<PixelModification> D3D11DebugManager::PixelHistory(vector<EventUsage> eve
if(mod.stencilTestFailed)
break;
}
}
} while((void)0,0);
}
history.push_back(mod);