- A few Vulkan wrapper structs
- Framework for Vulkan context - Fixed a bug with dynarray where if `resize()` shrinks the array, destructors are not called. - Fixed grammar issues with the containers library and added property tables to existing data structures.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace fennec
|
||||
scene_node* scene::operator[](const cstring& name) const {
|
||||
list<size_t> parse;
|
||||
parse.push_back(table_t::root);
|
||||
while (not parse.empty()) {
|
||||
while (not parse.is_empty()) {
|
||||
size_t n = parse.front();
|
||||
if (_table[n]->name == name) {
|
||||
return _table[n].get();
|
||||
@@ -54,7 +54,7 @@ scene_node* scene::operator[](const cstring& name) const {
|
||||
scene_node* scene::operator[](const string& name) const {
|
||||
list<size_t> parse;
|
||||
parse.push_back(table_t::root);
|
||||
while (not parse.empty()) {
|
||||
while (not parse.is_empty()) {
|
||||
size_t n = parse.front();
|
||||
if (_table[n]->name == name) {
|
||||
return _table[n].get();
|
||||
|
||||
Reference in New Issue
Block a user