summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-30 19:24:59 +0100
committerLioncash <mathew1800@gmail.com>2020-12-30 19:25:03 +0100
commitf0d9ab0717b5148b5d3569af96333ca69bc46272 (patch)
tree21d7f3f935dcb7800db8390a4b08d9d33a8348ed /src/video_core
parentMerge pull request #5251 from ReinUsesLisp/wuninitialized (diff)
downloadyuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.gz
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.bz2
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.lz
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.xz
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.zst
yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index 40501e7fa..4c988429f 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -239,7 +239,7 @@ FormatInfo SurfaceFormat(const VKDevice& device, FormatType format_type, PixelFo
const bool attachable = tuple.usage & Attachable;
const bool storage = tuple.usage & Storage;
- VkFormatFeatureFlags usage;
+ VkFormatFeatureFlags usage{};
switch (format_type) {
case FormatType::Buffer:
usage =