diff --git a/Zenitha b/Zenitha index f40a2837..928fcd1d 160000 --- a/Zenitha +++ b/Zenitha @@ -1 +1 @@ -Subproject commit f40a2837ea9478897d2655199749f2eb96682486 +Subproject commit 928fcd1ddffd43e85fb99f5b7dddf7f81665be9e diff --git a/assets/game/init.lua b/assets/game/init.lua index edadf193..ba0a6a36 100644 --- a/assets/game/init.lua +++ b/assets/game/init.lua @@ -471,9 +471,11 @@ function GAME.update(dt) end end +local _canvasSetting={stencil=true} function GAME.render() if not GAME.playerList then return end - gc.setCanvas({ZENITHA.getBigCanvas('player'),stencil=true}) + _canvasSetting[1]=ZENITHA.getBigCanvas('player') + gc.setCanvas(_canvasSetting) gc.replaceTransform(SCR.xOy_m) gc.applyTransform(GAME.camera.transform) gc.clear(0,0,0,0)