2022-08-14 18:57:14 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-08-21 21:10:28 +02:00
|
|
|
#if defined(DXVK_WSI_WIN32)
|
2022-08-14 18:57:14 +02:00
|
|
|
#include "win32/wsi_platform_win32.h"
|
2022-08-21 21:10:28 +02:00
|
|
|
#elif defined(DXVK_WSI_SDL2)
|
|
|
|
#include "sdl2/wsi_platform_sdl2.h"
|
2022-12-03 04:11:43 +01:00
|
|
|
#elif defined(DXVK_WSI_GLFW)
|
|
|
|
#include "glfw/wsi_platform_glfw.h"
|
2022-08-14 18:57:14 +02:00
|
|
|
#endif
|
2023-12-08 05:57:02 +01:00
|
|
|
|
2023-12-08 06:09:56 +01:00
|
|
|
#include <vector>
|
|
|
|
|
2023-12-08 05:57:02 +01:00
|
|
|
namespace dxvk::wsi {
|
|
|
|
|
|
|
|
void init();
|
|
|
|
void quit();
|
2023-12-08 06:09:56 +01:00
|
|
|
std::vector<const char *> getInstanceExtensions();
|
2023-12-08 05:57:02 +01:00
|
|
|
|
|
|
|
}
|