1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 10:24:12 +01:00

[d3d11] Fixed silly bug in blend state comparison

This commit is contained in:
Philip Rebohle 2018-03-28 11:55:03 +02:00
parent 873deed4a3
commit 1a8567a363
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;