summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 08:30:08 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 08:30:08 +0200
commit0ca456830f1149e315f57dd43f32cbcba97e310c (patch)
tree4f144edde6fa0d6961d60f35ba901689f04b1a4c /src
parentMerge pull request #3657 from ReinUsesLisp/viewport-zero (diff)
downloadyuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.gz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.bz2
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.lz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.xz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.zst
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_blit_screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
index 21644a7e7..fbd406f2b 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
@@ -535,7 +535,9 @@ void VKBlitScreen::CreateGraphicsPipeline() {
viewport_state_ci.pNext = nullptr;
viewport_state_ci.flags = 0;
viewport_state_ci.viewportCount = 1;
+ viewport_state_ci.pViewports = nullptr;
viewport_state_ci.scissorCount = 1;
+ viewport_state_ci.pScissors = nullptr;
VkPipelineRasterizationStateCreateInfo rasterization_ci;
rasterization_ci.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;