I think there is a problem [d3dBlendEnable]


In D3D11Graphics.cpp, d3dBlendEnable[] does not have the same size as d3dSrcBlend[].

They should have the same size because they will be indexed by the same blend mode, right?


Yes, it looks like it.


I believe the code for 3D9 has the mistake too.


Yes, d3dBlendEnable[] have different size in D3D9Graphics.cpp, too.


Care to submit that as a PR? I could do it too but I don’t like to take other’s credit :slight_smile:



Here is PR