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