Added love.graphics.clearStencil, which only clears the stencil buffer.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-27 03:58:40 -04:00
parent 3efcf3901b
commit 1326ae9a5d
4 changed files with 18 additions and 0 deletions
+5
View File
@@ -138,6 +138,11 @@ public:
void setStencilTest(bool enable, bool invert);
void getStencilTest(bool &enable, bool &invert);
/**
* Clear the stencil buffer in the active Canvas(es.)
**/
void clearStencil();
/**
* Creates an Image object with padding and/or optimization.
**/