Removed Canvas:clear. love.graphics.clear now accepts r,g,b,a values (and defaults to 0,0,0,0 with no arguments given.) love.graphics.clear clears the content of the currently active Canvas(es.)

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-27 03:47:25 -04:00
parent f83c2db471
commit 3efcf3901b
14 changed files with 42 additions and 211 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ function love.run()
if love.update then love.update(dt) end -- will pass 0 if love.timer is disabled
if love.graphics and love.graphics.isActive() then
love.graphics.clear()
love.graphics.clear(love.graphics.getBackgroundColor())
love.graphics.origin()
if love.draw then love.draw() end
love.graphics.present()