Rename SpriteBatch:setq to setg

This commit is contained in:
Bart van Strien
2013-05-20 19:04:27 +02:00
parent 2b54ea23de
commit 167d3183b9
2 changed files with 3 additions and 3 deletions
@@ -84,7 +84,7 @@ int w_SpriteBatch_set(lua_State *L)
return 0;
}
int w_SpriteBatch_setq(lua_State *L)
int w_SpriteBatch_setg(lua_State *L)
{
SpriteBatch *t = luax_checkspritebatch(L, 1);
int index = luaL_checkinteger(L, 2);
@@ -202,7 +202,7 @@ static const luaL_Reg functions[] =
{ "add", w_SpriteBatch_add },
{ "addg", w_SpriteBatch_addg },
{ "set", w_SpriteBatch_set },
{ "setq", w_SpriteBatch_setq },
{ "setg", w_SpriteBatch_setg },
{ "clear", w_SpriteBatch_clear },
{ "bind", w_SpriteBatch_bind },
{ "unbind", w_SpriteBatch_unbind },
@@ -35,7 +35,7 @@ SpriteBatch *luax_checkspritebatch(lua_State *L, int idx);
int w_SpriteBatch_add(lua_State *L);
int w_SpriteBatch_addq(lua_State *L);
int w_SpriteBatch_set(lua_State *L);
int w_SpriteBatch_setq(lua_State *L);
int w_SpriteBatch_setg(lua_State *L);
int w_SpriteBatch_clear(lua_State *L);
int w_SpriteBatch_bind(lua_State *L);
int w_SpriteBatch_unbind(lua_State *L);