diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-29 07:12:17 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-29 08:03:35 +0200 |
commit | 3c65c8580f80445f0501d02c8d5590198a50b3b3 (patch) | |
tree | 131fe5504c9dfaf60eaf9ac77dc6f2b7898607f3 /src/video_core/renderer_vulkan/vk_swapchain.h | |
parent | Merge pull request #6919 from ameerj/vk-int8-capability (diff) | |
download | yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar.gz yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar.bz2 yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar.lz yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar.xz yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.tar.zst yuzu-3c65c8580f80445f0501d02c8d5590198a50b3b3.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_swapchain.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_swapchain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_swapchain.h b/src/video_core/renderer_vulkan/vk_swapchain.h index 35c2cdc14..cd472dd0a 100644 --- a/src/video_core/renderer_vulkan/vk_swapchain.h +++ b/src/video_core/renderer_vulkan/vk_swapchain.h @@ -68,8 +68,8 @@ public: return *image_views[index]; } - VkFormat GetImageFormat() const { - return image_format; + VkFormat GetImageViewFormat() const { + return image_view_format; } private: @@ -96,7 +96,7 @@ private: u32 image_index{}; u32 frame_index{}; - VkFormat image_format{}; + VkFormat image_view_format{}; VkExtent2D extent{}; bool current_srgb{}; |