mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fixed love.graphics.stencil
This commit is contained in:
@@ -168,6 +168,7 @@ int w_stencil(lua_State *L)
|
||||
instance()->drawToStencilBuffer(true);
|
||||
|
||||
// Call stencilfunc()
|
||||
lua_pushvalue(L, 1);
|
||||
lua_call(L, 0, 0);
|
||||
|
||||
instance()->drawToStencilBuffer(false);
|
||||
|
||||
Reference in New Issue
Block a user