Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10992 from Pokechu22/swapchain-unused-functions
VideoCommon: Remove unused swap chain functions
  • Loading branch information
lioncash committed Aug 18, 2022
2 parents 86d760b + 3c38f5c commit 7a23b45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Source/Core/VideoBackends/D3DCommon/SwapChain.h
Expand Up @@ -29,9 +29,6 @@ class SwapChain
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;
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/VideoBackends/Vulkan/VKSwapChain.h
Expand Up @@ -34,8 +34,6 @@ class SwapChain
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; }
Expand Down

0 comments on commit 7a23b45

Please sign in to comment.