| 1826 | } |
| 1827 | |
| 1828 | void SceneGraph::UnlinkUpdateObject(Object* obj, int entry) { |
| 1829 | SDL_assert(update_objects_[entry] == obj); |
| 1830 | if (entry != num_update_objects - 1) { |
| 1831 | update_objects_[entry] = update_objects_[num_update_objects - 1]; |
| 1832 | update_objects_[entry]->update_list_entry = entry; |
| 1833 | } |
| 1834 | --num_update_objects; |
| 1835 | } |
| 1836 | |
| 1837 | void SceneGraph::Dispose() { |
| 1838 | for (auto& object : objects_) { |
no outgoing calls
no test coverage detected