Browse Source

Rename SpriteBatch:setq to setg

Bart van Strien 12 years ago
parent
commit
167d3183b9

+ 2 - 2
src/modules/graphics/opengl/wrap_SpriteBatch.cpp

@@ -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 },

+ 1 - 1
src/modules/graphics/opengl/wrap_SpriteBatch.h

@@ -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);