refactor app and enable gles 3.0
This commit is contained in:
@@ -483,10 +483,10 @@ bool LayoutManager::load(const char* path)
|
||||
auto id_str = current->Attribute("id");
|
||||
if (!id_str)
|
||||
{
|
||||
printf("Layout node without id\n");
|
||||
LOG("Layout node without id\n");
|
||||
return false;
|
||||
}
|
||||
printf("Parsing layout: %s\n", id_str);
|
||||
LOG("Parsing layout: %s\n", id_str);
|
||||
uint16_t id = const_hash(id_str);
|
||||
auto p = m_layouts.find(id);
|
||||
if (p == m_layouts.end())
|
||||
@@ -513,7 +513,7 @@ bool LayoutManager::load(const char* path)
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Layout id \"%s\" duplicated\n", id_str);
|
||||
LOG("Layout id \"%s\" duplicated\n", id_str);
|
||||
}
|
||||
current = current->NextSiblingElement("layout");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user