| 1749 | #endif |
| 1750 | |
| 1751 | std::shared_ptr<scene> application::current_scene() |
| 1752 | { |
| 1753 | std::unique_lock _{instance().scene_stack_lock}; |
| 1754 | if (!instance().scene_stack.empty()) |
| 1755 | return instance().scene_stack.back(); |
| 1756 | else |
| 1757 | return {}; |
| 1758 | } |
| 1759 | |
| 1760 | void application::pop_scene() |
| 1761 | { |
no test coverage detected