Merge pull request #9748 from hrydgard/delete-clearbuffer

Delete obsolete function ClearBuffer
This commit is contained in:
Henrik Rydgård 2017-05-31 14:11:12 +02:00 committed by GitHub
commit 6bd1a16c35
10 changed files with 3 additions and 80 deletions

View file

@ -533,9 +533,6 @@ void FramebufferManagerCommon::NotifyRenderFramebufferCreated(VirtualFramebuffer
textureCache_->NotifyFramebuffer(vfb->fb_address, vfb, NOTIFY_FB_CREATED);
// TODO: Is this necessary?
ClearBuffer();
// ugly...
if (gstate_c.curRTWidth != vfb->width || gstate_c.curRTHeight != vfb->height) {
gstate_c.Dirty(DIRTY_PROJTHROUGHMATRIX);