I feel pretty confident that this line has a bug, and the for
initialization should be 'target = RenderTarget'

https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/direct-x/include/d3d11.h#l1644

I was getting errors in CreateBlendState passing in this structure
with Invalid Argument. I compared the byte dump of a MinGW structure
and a MSFT one. This is the difference between MinGW and MSFT:
https://www.diffchecker.com/hCqvcpKw

After patching, this is the difference: https://www.diffchecker.com/K7L0s5Kj

I don't know why there's the 0x7F difference; but now the call to
CreateBlendState doesn't fail.

-tom

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to