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?

1 Like

#2

Yes, it looks like it.

0 Likes

#3

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

0 Likes

#4

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

0 Likes

#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:

0 Likes

#6

OK.

Here is PR

2 Likes