diff --git a/include/native/wsi/native_wsi.h b/include/native/wsi/native_wsi.h index e5d73210a60..63eabf4e132 100644 --- a/include/native/wsi/native_wsi.h +++ b/include/native/wsi/native_wsi.h @@ -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 not defined(DXVK_WSI_SDL3) || DXVK_WSI_SDL2 || DXVK_WSI_GLFW #error Unknown wsi! -#endif \ No newline at end of file +#endif