mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[d3d11] Fixed silly bug in blend state comparison
This commit is contained in:
parent
873deed4a3
commit
1a8567a363
@ -110,7 +110,7 @@ namespace dxvk {
|
|||||||
// undefined data if independent blend is disabled
|
// undefined data if independent blend is disabled
|
||||||
const uint32_t usedRenderTargets = a.IndependentBlendEnable ? 8 : 1;
|
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]);
|
eq &= this->operator () (a.RenderTarget[i], b.RenderTarget[i]);
|
||||||
|
|
||||||
return eq;
|
return eq;
|
||||||
|
Loading…
Reference in New Issue
Block a user