Merge branch 'master' into vulkan

Former-commit-id: 8e5cf8f5c93203818a1939df269593f8556019f0
This commit is contained in:
Lynix
2016-04-23 22:57:14 +02:00
15 changed files with 252 additions and 127 deletions

View File

@@ -714,12 +714,12 @@ namespace Nz
lua_replace(m_state, index);
}
void LuaInstance::SetField(const char* name, int tableIndex)
void LuaInstance::SetField(const char* name, int tableIndex) const
{
lua_setfield(m_state, tableIndex, name);
}
void LuaInstance::SetField(const String& name, int tableIndex)
void LuaInstance::SetField(const String& name, int tableIndex) const
{
lua_setfield(m_state, tableIndex, name.GetConstBuffer());
}

View File

@@ -350,7 +350,7 @@ namespace Nz
return s_defaultAtlas;
}
Font* Font::GetDefault()
const FontRef& Font::GetDefault()
{
// Nous n'initialisons la police par défaut qu'à la demande pour qu'elle prenne
// les paramètres par défaut (qui peuvent avoir étés changés par l'utilisateur),