dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Fixes for building with clang-cl and wine headers.

Open rbernon opened this issue 1 year ago • 3 comments

A couple of compilation failures found while experimenting with clang msvc mode.

rbernon avatar Oct 25 '24 08:10 rbernon

Eh I was indeed curious why these casts were not missing in the first place, looks like it'll need to be fixed differently...

rbernon avatar Oct 25 '24 08:10 rbernon

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.

WinterSnowfall avatar Oct 25 '24 08:10 WinterSnowfall

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.

rbernon avatar Oct 25 '24 09:10 rbernon