love.graphics.discard now accepts a table of booleans indicating which of the active canvases to discard (matches love.graphics.clear.)

This commit is contained in:
Alex Szpakowski
2015-03-21 02:36:13 -03:00
parent 163d059305
commit e237ed2432
3 changed files with 29 additions and 11 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ public:
/**
* Discards the contents of the screen.
**/
void discard(bool color, bool stencil);
void discard(const std::vector<bool> &colorbuffers, bool stencil);
/**
* Flips buffers. (Rendered geometry is presented on screen).