updated to latest mobile-common branch of Löve

This commit is contained in:
fysx
2014-01-30 08:51:28 +01:00
parent 4c481f9933
commit 33d979caf6
49 changed files with 824 additions and 199 deletions
@@ -120,6 +120,13 @@ int w_Canvas_getType(lua_State *L)
return 1;
}
int w_Canvas_getFSAA(lua_State *L)
{
Canvas *canvas = luax_checkcanvas(L, 1);
lua_pushinteger(L, canvas->getFSAA());
return 1;
}
static const luaL_Reg functions[] =
{
// From wrap_Texture.
@@ -136,6 +143,7 @@ static const luaL_Reg functions[] =
{ "getPixel", w_Canvas_getPixel },
{ "clear", w_Canvas_clear },
{ "getType", w_Canvas_getType },
{ "getFSAA", w_Canvas_getFSAA },
{ 0, 0 }
};