Skip to content

Commit

Permalink
Merge pull request #136 from Spirrwell/master
Browse files Browse the repository at this point in the history
Update colorbuffer and colorbufferWarp samplers in QVk_RecreateSwapchain
  • Loading branch information
kondrak authored Jun 14, 2021
2 parents 4ca926d + 9da317b commit ec16a30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ref_vk/vk_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2192,6 +2192,8 @@ void QVk_RecreateSwapchain()
vk_scissor.extent = vk_swapchain.extent;
DestroyDrawBuffers();
CreateDrawBuffers();
QVk_UpdateTextureSampler(&vk_colorbuffer, S_NEAREST);
QVk_UpdateTextureSampler(&vk_colorbufferWarp, S_NEAREST);
VK_VERIFY(CreateImageViews());
VK_VERIFY(CreateFramebuffers());
}
Expand Down

0 comments on commit ec16a30

Please sign in to comment.