diff options
author | Liam <byteslice@airmail.cc> | 2023-12-03 20:02:20 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-03 22:43:54 +0100 |
commit | 382cf087a09e1095f07c14aabc8e432ec0a1a2c1 (patch) | |
tree | d028d018e39466e041992d2aad804914355758ae /src/video_core/renderer_vulkan/vk_present_manager.h | |
parent | Merge pull request #12094 from ameerj/gl-buffer-cache-batch-vtx (diff) | |
download | yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar.gz yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar.bz2 yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar.lz yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar.xz yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.tar.zst yuzu-382cf087a09e1095f07c14aabc8e432ec0a1a2c1.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_present_manager.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_present_manager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_present_manager.h b/src/video_core/renderer_vulkan/vk_present_manager.h index a3d825fe6..337171a09 100644 --- a/src/video_core/renderer_vulkan/vk_present_manager.h +++ b/src/video_core/renderer_vulkan/vk_present_manager.h @@ -25,7 +25,6 @@ class Swapchain; struct Frame { u32 width; u32 height; - bool is_srgb; vk::Image image; vk::ImageView image_view; vk::Framebuffer framebuffer; @@ -48,8 +47,8 @@ public: void Present(Frame* frame); /// Recreates the present frame to match the provided parameters - void RecreateFrame(Frame* frame, u32 width, u32 height, bool is_srgb, - VkFormat image_view_format, VkRenderPass rd); + void RecreateFrame(Frame* frame, u32 width, u32 height, VkFormat image_view_format, + VkRenderPass rd); /// Waits for the present thread to finish presenting all queued frames. void WaitPresent(); |