Merge pull request #10411 from hrydgard/gl-render-manager

GL render manager - new faster GL multithreading
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2018-01-31 12:22:07 +01:00
commit 22e28e218b
83 files changed
+5242 -3626

No files matched your search

+2 -1
View File
@@ -1338,8 +1338,9 @@ void VKContext::BindFramebufferAsRenderTarget(Framebuffer *fbo, const RenderPass
VKFramebuffer *fb = (VKFramebuffer *)fbo;
VKRRenderPassAction color = (VKRRenderPassAction)rp.color;
VKRRenderPassAction depth = (VKRRenderPassAction)rp.depth;
VKRRenderPassAction stencil = (VKRRenderPassAction)rp.stencil;
renderManager_.BindFramebufferAsRenderTarget(fb ? fb->GetFB() : nullptr, color, depth, rp.clearColor, rp.clearDepth, rp.clearStencil);
renderManager_.BindFramebufferAsRenderTarget(fb ? fb->GetFB() : nullptr, color, depth, stencil, rp.clearColor, rp.clearDepth, rp.clearStencil);
curFramebuffer_ = fb;
}