We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36f368f + 8478bbf commit 5903ad8Copy full SHA for 5903ad8
src/modules/graphics/wrap_Graphics.lua
@@ -55,6 +55,8 @@ end
55
function graphics.stencil(func, action, value, keepvalues)
56
love.markDeprecated(2, "love.graphics.stencil", "function", "replaced", "love.graphics.setStencilMode or setStencilState")
57
58
+ if action == nil then action = "replace" end
59
+
60
if not keepvalues then
61
graphics.clear(false, true, false)
62
end
0 commit comments