From 1a8567a363629b35cb5c70e87c1125687b816c67 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 28 Mar 2018 11:55:03 +0200 Subject: [PATCH] [d3d11] Fixed silly bug in blend state comparison --- src/d3d11/d3d11_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_state.cpp b/src/d3d11/d3d11_state.cpp index 8e950511..941cff80 100644 --- a/src/d3d11/d3d11_state.cpp +++ b/src/d3d11/d3d11_state.cpp @@ -110,7 +110,7 @@ namespace dxvk { // undefined data if independent blend is disabled const uint32_t usedRenderTargets = a.IndependentBlendEnable ? 8 : 1; - for (uint32_t i = 0; !eq && (i < usedRenderTargets); i++) + for (uint32_t i = 0; eq && (i < usedRenderTargets); i++) eq &= this->operator () (a.RenderTarget[i], b.RenderTarget[i]); return eq;