From 97f18beb91f56d4b9d241f8513be5b40a119e589 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Tue, 15 Jul 2014 11:53:34 +0200 Subject: [PATCH] Graphics: Remove dubious optimization --- src/graphics.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/graphics.cpp b/src/graphics.cpp index 7e0264d..4784fde 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -97,10 +97,6 @@ struct PingPong { std::swap(srcInd, dstInd); - /* Discard dest buffer */ - TEX::bind(rt[dstInd].tex); - TEX::allocEmpty(screenW, screenH); - bind(); }