Permalink
Browse files

Delete superfluous bind of temporary render target on creation.

  • Loading branch information...
hrydgard committed Oct 29, 2017
1 parent 6e9cd93 commit 6253280fba6b17fa90826c7e2e93baa77d699897
Showing with 0 additions and 2 deletions.
  1. +0 −2 GPU/Common/FramebufferCommon.cpp
@@ -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;

0 comments on commit 6253280

Please sign in to comment.