소스 검색

removed comment

KiwiSky 3 주 전
부모
커밋
8478bbff16
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/graphics/wrap_Graphics.lua

+ 1 - 1
src/modules/graphics/wrap_Graphics.lua

@@ -55,7 +55,7 @@ end
 function graphics.stencil(func, action, value, keepvalues)
 	love.markDeprecated(2, "love.graphics.stencil", "function", "replaced", "love.graphics.setStencilMode or setStencilState")
 
-	action = action or "replace" -- make compatible with 11.x by giving default value --
+	if action == nil then action = "replace" end
 	
 	if not keepvalues then
 		graphics.clear(false, true, false)