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
+2 -2
View File
@@ -81,9 +81,9 @@ public:
void reset();
/**
* Clears the screen.
* Clears the screen to a specific color.
**/
void clear(ClearType type = CLEAR_ALL);
void clear(Color c);
/**
* Flips buffers. (Rendered geometry is presented on screen).