chore(debugging): removed some logging
This commit is contained in:
parent
0b0f4bcdfb
commit
c9b6a0da60
|
@ -83,18 +83,10 @@ int _internal_compare_depth(const BehaviourEntity* a, const BehaviourEntity* b)
|
|||
|
||||
void game_world_draw() {
|
||||
List draw_order = list_copy(&_game_entities);
|
||||
|
||||
LOG_INFO("before");
|
||||
list_foreach(BehaviourEntity*, entity, &draw_order) {
|
||||
LOG_INFO("Entity: %p depth %d", entity->data, entity->tc->get_depth(entity->data));
|
||||
}
|
||||
|
||||
qsort(_game_entities.data, _game_entities.len, _game_entities.element_size,
|
||||
AS_COMPARISON(_internal_compare_depth));
|
||||
|
||||
LOG_INFO("after");
|
||||
list_foreach(BehaviourEntity*, entity, &draw_order) {
|
||||
LOG_INFO("Entity: %p depth %d", entity->data, entity->tc->get_depth(entity->data));
|
||||
entity->tc->draw(entity->data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue