1
0
Fork 0
forked from suyu/suyu

Merge pull request #3667 from ReinUsesLisp/viewport-trash

vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo
This commit is contained in:
Mat M 2020-04-15 03:10:34 -04:00 committed by GitHub
commit 3a759d2352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;