mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
add texture:getDebugName and buffer:getDebugName
This commit is contained in:
@@ -741,7 +741,7 @@ static void luax_checktexturesettings(lua_State *L, int idx, bool opt, bool chec
|
||||
lua_getfield(L, idx, Texture::getConstant(Texture::SETTING_DEBUGNAME));
|
||||
if (!lua_isnoneornil(L, -1))
|
||||
{
|
||||
s.debugName = luaL_checkstring(L, -1);
|
||||
s.debugName.set(luaL_checkstring(L, -1));
|
||||
}
|
||||
lua_pop(L, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user