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.
1 parent fbc8e4e commit 8478bbfCopy full SHA for 8478bbf
src/modules/graphics/wrap_Graphics.lua
@@ -55,7 +55,7 @@ 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
- action = action or "replace" -- make compatible with 11.x by giving default value --
+ if action == nil then action = "replace" end
59
60
if not keepvalues then
61
graphics.clear(false, true, false)
0 commit comments