summaryrefslogtreecommitdiffstats
path: root/src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h')
-rw-r--r--src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h b/src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h
new file mode 100644
index 00000000..152d05a5
--- /dev/null
+++ b/src/libs/dxvk-native-1.9.2a/src/wsi/wsi_presenter.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <windows.h>
+
+#include "../vulkan/vulkan_loader.h"
+
+namespace dxvk::wsi {
+
+ /**
+ * \brief Create a surface for a window
+ *
+ * \param [in] hWindow The window
+ * \param [in] vki The instance
+ * \param [out] pSurface The surface
+ */
+ VkResult createSurface(
+ HWND hWindow,
+ const Rc<vk::InstanceFn>& vki,
+ VkSurfaceKHR* pSurface);
+
+} \ No newline at end of file