diff options
author | xgoff <antipotroast@gmail.com> | 2012-08-02 10:16:08 -0500 |
---|---|---|
committer | xgoff <antipotroast@gmail.com> | 2012-08-02 10:16:08 -0500 |
commit | 06a2accace917edad968b970adfb23afa064e6ae (patch) | |
tree | bbe8c502b50e51df7cb0e963b2fe409aee4f5ef0 | |
parent | 76c2a40a88bc85a7059a38b19fed0df3df009dcb (diff) | |
download | love2d-fakecanvas-06a2accace917edad968b970adfb23afa064e6ae.tar.gz love2d-fakecanvas-06a2accace917edad968b970adfb23afa064e6ae.tar.bz2 love2d-fakecanvas-06a2accace917edad968b970adfb23afa064e6ae.tar.xz love2d-fakecanvas-06a2accace917edad968b970adfb23afa064e6ae.zip |
remove redundant clear call
-rw-r--r-- | fakecanvas.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fakecanvas.lua b/fakecanvas.lua index 626e456..c881693 100644 --- a/fakecanvas.lua +++ b/fakecanvas.lua @@ -178,7 +178,6 @@ local function setCanvas (...) --print "restoring background state" love.graphics.setBackgroundColor(0, 0, 0, 0) love.graphics.clear() - love.graphics.clear() love.graphics.setScissor() love.graphics.draw(_fb_state.image, 0, 0) love.graphics.setBackgroundColor(unpack(_fb_state.color)) |