diff --git a/src/modules/graphics/opengl/wrap_SpriteBatch.cpp b/src/modules/graphics/opengl/wrap_SpriteBatch.cpp index 99f258b35..733c277df 100644 --- a/src/modules/graphics/opengl/wrap_SpriteBatch.cpp +++ b/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 }, diff --git a/src/modules/graphics/opengl/wrap_SpriteBatch.h b/src/modules/graphics/opengl/wrap_SpriteBatch.h index 58e5be8f0..4b98c06e5 100644 --- a/src/modules/graphics/opengl/wrap_SpriteBatch.h +++ b/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);