diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-06-09 15:07:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-09 15:07:07 +0200 |
| commit | 8f51a9d2d8a88993167cd1c3b8d447bee1ca6407 (patch) | |
| tree | 31ea53fda80c4e7e4476cd2a16b17de89102b9c7 /Source/Core/VideoBackends/Vulkan | |
| parent | 092773ad0cd31cb0f3d111254e4e0bdb24f2c795 (diff) | |
| parent | ac48b2eea43164349e6b112604d44490a4d731c5 (diff) | |
Merge pull request #11699 from Pokechu22/gl-check-maximum-samples
OpenGL: Check the list of supported AA modes instead of hardcoding
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VKMain.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VideoBackend.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKMain.cpp b/Source/Core/VideoBackends/Vulkan/VKMain.cpp index 053b592c14..2eb9b34106 100644 --- a/Source/Core/VideoBackends/Vulkan/VKMain.cpp +++ b/Source/Core/VideoBackends/Vulkan/VKMain.cpp @@ -30,7 +30,7 @@ namespace Vulkan { -void VideoBackend::InitBackendInfo() +void VideoBackend::InitBackendInfo(const WindowSystemInfo& wsi) { VulkanContext::PopulateBackendInfo(&g_Config); diff --git a/Source/Core/VideoBackends/Vulkan/VideoBackend.h b/Source/Core/VideoBackends/Vulkan/VideoBackend.h index a16d149307..4e8c3a5471 100644 --- a/Source/Core/VideoBackends/Vulkan/VideoBackend.h +++ b/Source/Core/VideoBackends/Vulkan/VideoBackend.h @@ -16,7 +16,7 @@ public: std::string GetName() const override { return NAME; } std::string GetDisplayName() const override { return _trans("Vulkan"); } - void InitBackendInfo() override; + void InitBackendInfo(const WindowSystemInfo& wsi) override; void PrepareWindow(WindowSystemInfo& wsi) override; static constexpr const char* NAME = "Vulkan"; |
