diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-25 06:14:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-31 06:07:33 +0100 |
commit | 11f0f7598df993c717752030c05f7b1eca3c762c (patch) | |
tree | 9a3da76be0b55bd9217ad44f85f58ae72f09d396 /src/video_core/vulkan_common/vulkan_surface.h | |
parent | renderer_vulkan: Catch and report exceptions (diff) | |
download | yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar.gz yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar.bz2 yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar.lz yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar.xz yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.tar.zst yuzu-11f0f7598df993c717752030c05f7b1eca3c762c.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_surface.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_surface.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_surface.h b/src/video_core/vulkan_common/vulkan_surface.h new file mode 100644 index 000000000..05a169e32 --- /dev/null +++ b/src/video_core/vulkan_common/vulkan_surface.h @@ -0,0 +1,18 @@ +// Copyright 2020 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "video_core/vulkan_common/vulkan_wrapper.h" + +namespace Core::Frontend { +class EmuWindow; +} + +namespace Vulkan { + +[[nodiscard]] vk::SurfaceKHR CreateSurface(const vk::Instance& instance, + const Core::Frontend::EmuWindow& emu_window); + +} // namespace Vulkan |