Fix issue in framebuffer size calculation when viewport is bogus in through mode. Fixes #10043.

This commit is contained in:
Henrik Rydgård committed 2017-11-04 11:43:19 +01:00
1 parent d5f8d484dd
commit 9e65ae1cef
3 files changed
+23 -7

No files matched your search

@@ -318,7 +318,9 @@ void VulkanRenderManager::BindFramebufferAsRenderTarget(VKRFramebuffer *fb, VKRR
curRenderStep_ = nullptr;
}
if (curRenderStep_ && curRenderStep_->commands.size() == 0) {
#ifdef _DEBUG
ILOG("Empty render step. Usually happens after uploading pixels..");
#endif
}
VKRStep *step = new VKRStep{ VKRStepType::RENDER };