mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user