dxvk
dxvk copied to clipboard
Fixes for building with clang-cl and wine headers.
A couple of compilation failures found while experimenting with clang msvc mode.
Eh I was indeed curious why these casts were not missing in the first place, looks like it'll need to be fixed differently...
I don't think we include d3d9types.h in the d3d9 namespace in d8vk, so there's that. I hate compilers. The definitions for D3DRECT/D3DMATRIX are identical, no casting should be necessary.
For some reason they end up in the namespace when I build with clang-cl, and it definitely fails to build. But I'll look into it.