diff options
| author | Mai <mathew1800@gmail.com> | 2022-08-18 10:32:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 10:32:51 -0400 |
| commit | 7a23b45aa1f7f2b704c8dc22664082a77ccd312a (patch) | |
| tree | adb84d0f42bc56fa5a29ba4e9b28697b1c988702 /Source/Core/VideoBackends | |
| parent | 86d760b8143989627bdff1be4474ce2fe59db8e9 (diff) | |
| parent | 3c38f5c1d22c5b15703fe9ae6b3d566a8d426637 (diff) | |
Merge pull request #10992 from Pokechu22/swapchain-unused-functions
VideoCommon: Remove unused swap chain functions
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/D3DCommon/SwapChain.h | 3 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VKSwapChain.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/SwapChain.h b/Source/Core/VideoBackends/D3DCommon/SwapChain.h index b632423bd5..debdd4d77a 100644 --- a/Source/Core/VideoBackends/D3DCommon/SwapChain.h +++ b/Source/Core/VideoBackends/D3DCommon/SwapChain.h @@ -29,9 +29,6 @@ public: AbstractTextureFormat GetFormat() const { return m_texture_format; } u32 GetWidth() const { return m_width; } u32 GetHeight() const { return m_height; } - u32 GetLayers() const { return m_stereo ? 2u : 1u; } - bool IsStereoEnabled() const { return m_stereo; } - bool HasExclusiveFullscreen() const { return m_has_fullscreen; } // Mode switches. bool GetFullscreen() const; diff --git a/Source/Core/VideoBackends/Vulkan/VKSwapChain.h b/Source/Core/VideoBackends/Vulkan/VKSwapChain.h index d83ee57051..5e67217f2d 100644 --- a/Source/Core/VideoBackends/Vulkan/VKSwapChain.h +++ b/Source/Core/VideoBackends/Vulkan/VKSwapChain.h @@ -34,8 +34,6 @@ public: VkSurfaceKHR GetSurface() const { return m_surface; } VkSurfaceFormatKHR GetSurfaceFormat() const { return m_surface_format; } AbstractTextureFormat GetTextureFormat() const { return m_texture_format; } - bool IsVSyncEnabled() const { return m_vsync_enabled; } - bool IsStereoEnabled() const { return m_layers == 2; } VkSwapchainKHR GetSwapChain() const { return m_swap_chain; } u32 GetWidth() const { return m_width; } u32 GetHeight() const { return m_height; } |
