mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[native] Include all supported wsi backend headers
So applications actually can support multiple backends with the same .so
This commit is contained in:
parent
d7bd3cd58e
commit
51bffe6348
1 changed files with 13 additions and 5 deletions
|
@ -2,12 +2,20 @@
|
|||
|
||||
#ifdef DXVK_WSI_WIN32
|
||||
#error You shouldnt be using this code path.
|
||||
#elif DXVK_WSI_SDL3
|
||||
#endif
|
||||
|
||||
#ifdef DXVK_WSI_SDL3
|
||||
#include "wsi/native_sdl3.h"
|
||||
#elif DXVK_WSI_SDL2
|
||||
#endif
|
||||
|
||||
#ifdef DXVK_WSI_SDL2
|
||||
#include "wsi/native_sdl2.h"
|
||||
#elif DXVK_WSI_GLFW
|
||||
#endif
|
||||
|
||||
#ifdef DXVK_WSI_GLFW
|
||||
#include "wsi/native_glfw.h"
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if !definedDXVK_WSI_SDL3) && !defined(DXVK_WSI_SDL2) && !defined(DXVK_WSI_GLFW)
|
||||
#error Unknown wsi!
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue