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
-12
View File
@@ -198,16 +198,6 @@ public:
**/
Color getColor() const;
/**
* Sets the current clear color for all framebuffer objects.
**/
void setClearColor(const Color &c);
/**
* Gets the current clear color.
**/
Color getClearColor() const;
/**
* Sets the OpenGL rendering viewport to the specified rectangle.
* The y-coordinate starts at the top.
@@ -356,8 +346,6 @@ private:
// Current constant color.
Color color;
Color clearColor;
// Texture unit state (currently bound texture for each texture unit.)
std::vector<GLuint> boundTextures;