|
@@ -1195,25 +1195,25 @@ int w_newVolumeTexture(lua_State *L)
|
|
|
|
|
|
int w_newImage(lua_State *L)
|
|
int w_newImage(lua_State *L)
|
|
{
|
|
{
|
|
- //luax_markdeprecated(L, "love.graphics.newImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newTexture");
|
|
|
|
|
|
+ //luax_markdeprecated(L, 1, "love.graphics.newImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newTexture");
|
|
return w_newTexture(L);
|
|
return w_newTexture(L);
|
|
}
|
|
}
|
|
|
|
|
|
int w_newCubeImage(lua_State *L)
|
|
int w_newCubeImage(lua_State *L)
|
|
{
|
|
{
|
|
- //luax_markdeprecated(L, "love.graphics.newCubeImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newCubeTexture");
|
|
|
|
|
|
+ //luax_markdeprecated(L, 1, "love.graphics.newCubeImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newCubeTexture");
|
|
return w_newCubeTexture(L);
|
|
return w_newCubeTexture(L);
|
|
}
|
|
}
|
|
|
|
|
|
int w_newArrayImage(lua_State *L)
|
|
int w_newArrayImage(lua_State *L)
|
|
{
|
|
{
|
|
- //luax_markdeprecated(L, "love.graphics.newArrayImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newArrayTexture");
|
|
|
|
|
|
+ //luax_markdeprecated(L, 1, "love.graphics.newArrayImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newArrayTexture");
|
|
return w_newArrayTexture(L);
|
|
return w_newArrayTexture(L);
|
|
}
|
|
}
|
|
|
|
|
|
int w_newVolumeImage(lua_State *L)
|
|
int w_newVolumeImage(lua_State *L)
|
|
{
|
|
{
|
|
- //luax_markdeprecated(L, "love.graphics.newVolumeImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newVolumeTexture");
|
|
|
|
|
|
+ //luax_markdeprecated(L, 1, "love.graphics.newVolumeImage", API_FUNCTION, DEPRECATED_RENAMED, "love.graphics.newVolumeTexture");
|
|
return w_newVolumeTexture(L);
|
|
return w_newVolumeTexture(L);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2644,7 +2644,7 @@ static int w__getFormats(lua_State *L, int idx, bool (*isFormatSupported)(PixelF
|
|
|
|
|
|
int w_getCanvasFormats(lua_State *L)
|
|
int w_getCanvasFormats(lua_State *L)
|
|
{
|
|
{
|
|
- luax_markdeprecated(L, "love.graphics.getCanvasFormats", API_FUNCTION, DEPRECATED_REPLACED, "love.graphics.getTextureFormats");
|
|
|
|
|
|
+ luax_markdeprecated(L, 1, "love.graphics.getCanvasFormats", API_FUNCTION, DEPRECATED_REPLACED, "love.graphics.getTextureFormats");
|
|
|
|
|
|
bool (*supported)(PixelFormat);
|
|
bool (*supported)(PixelFormat);
|
|
|
|
|
|
@@ -2681,7 +2681,7 @@ int w_getCanvasFormats(lua_State *L)
|
|
|
|
|
|
int w_getImageFormats(lua_State *L)
|
|
int w_getImageFormats(lua_State *L)
|
|
{
|
|
{
|
|
- luax_markdeprecated(L, "love.graphics.getImageFormats", API_FUNCTION, DEPRECATED_REPLACED, "love.graphics.getTextureFormats");
|
|
|
|
|
|
+ luax_markdeprecated(L, 1, "love.graphics.getImageFormats", API_FUNCTION, DEPRECATED_REPLACED, "love.graphics.getTextureFormats");
|
|
|
|
|
|
const auto supported = [](PixelFormat format) -> bool
|
|
const auto supported = [](PixelFormat format) -> bool
|
|
{
|
|
{
|