Delete superfluous bind of temporary render target on creation.

This commit is contained in:
Henrik Rydgård 2017-10-29 22:17:27 +01:00
parent 6e9cd933b2
commit 6253280fba

View file

@ -1806,8 +1806,6 @@ Draw::Framebuffer *FramebufferManagerCommon::GetTempFBO(u16 w, u16 h, Draw::FBCo
if (!fbo)
return fbo;
// TODO: Move binding out of here!
draw_->BindFramebufferAsRenderTarget(fbo, { Draw::RPAction::CLEAR, Draw::RPAction::CLEAR });
const TempFBO info = { fbo, gpuStats.numFlips };
tempFBOs_[key] = info;
return fbo;