Annotate calls to RebindFramebuffer with their cause.

This commit is contained in:
Henrik Rydgård committed 2020-06-02 09:51:38 +02:00
1 parent f4dcbe9d28
commit 737688a22a
16 files changed
+36 -38

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ VkImageView FramebufferManagerVulkan::BindFramebufferAsColorTexture(int stage, V
VirtualFramebuffer copyInfo = *framebuffer;
copyInfo.fbo = renderCopy;
CopyFramebufferForColorTexture(&copyInfo, framebuffer, flags);
RebindFramebuffer();
RebindFramebuffer("RebindFramebuffer - BindFramebufferAsColorTexture");
draw_->BindFramebufferAsTexture(renderCopy, stage, Draw::FB_COLOR_BIT, 0);
} else {
draw_->BindFramebufferAsTexture(framebuffer->fbo, stage, Draw::FB_COLOR_BIT, 0);