Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed Nov 14, 2024
1 parent 8ca0c33 commit 0264a07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/silvergun/engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ class engine final : public config, public input, public display {
config::_flags::is_running = false;

mgr::world::clear();
mgr::audio::de_init();
mgr::gfx::renderer::de_init();
mgr::audio::deinitialize();
mgr::gfx::renderer::deinitialize();
mgr::assets::clear_al_objects();

std::cout << "Cleaning up engine objects... ";
Expand Down
2 changes: 1 addition & 1 deletion include/silvergun/mgr/audio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class audio final : private manager<audio> {
};

// Destroies the Allegro objects used by the manager.
static void de_init(void) {
static void deinitialize(void) {
audio::sample::clear_instances();

// Unload all mixers.
Expand Down
2 changes: 1 addition & 1 deletion include/silvergun/mgr/renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class renderer final : private manager<renderer> {
};

// Destories the internal objects.
static void de_init(void) {
static void deinitialize(void) {
viewport_bitmap.reset();
renderer_font.reset();
al_destroy_event_queue(fps_event_queue);
Expand Down

0 comments on commit 0264a07

Please sign in to comment.