Closed Blisto91 closed 5 days ago
#if not defined(DXVK_WSI_SDL3) || DXVK_WSI_SDL2 || DXVK_WSI_GLFW
will work?
should be #if !defined(DXVK_WSI_SDL3) && !defined(DXVK_WSI_SDL2) && !defined(DXVK_WSI_GLFW)
EDIT: add
EDIT2: https://onlinegdb.com/DvzVQPy3f -- playground (firs from "google"), hit "Run"DXVK_WSI_WIN32
too.
No it was indeed wrong. I drafted it because i had to go away so couldn't fix it immediately
The second question I'll CC @flibitijibibo for
Can confirm that this would cause conflicts. For native applications that actually plan to support multiple backends, odds are the backends in the application itself would also be split up to avoid the same kind of issues, so each backend can separately include the correct wsi.h without having to worry about collisions.
Thank you for the input both of you. I'll go ahead and close this.
Just do a separate targets maybe.
So applications actually can support multiple backends with the same .so