diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-15 09:10:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 09:10:34 +0200 |
commit | 3a759d2352bd787f525c5b35b4381dfe509561f8 (patch) | |
tree | 4f144edde6fa0d6961d60f35ba901689f04b1a4c | |
parent | Merge pull request #3657 from ReinUsesLisp/viewport-zero (diff) | |
parent | vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo (diff) | |
download | yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.gz yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.bz2 yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.lz yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.xz yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.zst yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_blit_screen.cpp | 2 |
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; |