I think there is a problem [d3dBlendEnable]


#1

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?


#2

Yes, it looks like it.


#3

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


#4

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


#5

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


#6

OK.

Here is PR