Renamed love.graphics.drawStencil to love.graphics.stencil.

--HG--
branch : stencil-functions
This commit is contained in:
Alex Szpakowski
2014-08-08 00:56:52 -03:00
parent 2b70d84611
commit 0749272632
2 changed files with 3 additions and 3 deletions
@@ -124,7 +124,7 @@ int w_getScissor(lua_State *L)
return 4;
}
int w_drawStencil(lua_State *L)
int w_stencil(lua_State *L)
{
luaL_checktype(L, 1, LUA_TFUNCTION);
@@ -1420,7 +1420,7 @@ static const luaL_Reg functions[] =
{ "setScissor", w_setScissor },
{ "getScissor", w_getScissor },
{ "drawStencil", w_drawStencil },
{ "stencil", w_stencil },
{ "setStencilTest", w_setStencilTest },
{ "getStencilTest", w_getStencilTest },
+1 -1
View File
@@ -48,7 +48,7 @@ int w_getHeight(lua_State *L);
int w_getDimensions(lua_State *L);
int w_setScissor(lua_State *L);
int w_getScissor(lua_State *L);
int w_drawStencil(lua_State *L);
int w_stencil(lua_State *L);
int w_setStencilTest(lua_State *L);
int w_getStencilTest(lua_State *L);
int w_newImage(lua_State *L);