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