Skip to content

Commit

Permalink
Remove spammy warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Oct 21, 2023
1 parent 8f4ccc2 commit a8213cb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions application/global/global_managers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,29 +85,21 @@ Util::MessageQueueInterface *message_queue()

FilesystemInterface *filesystem()
{
if (!global_managers.filesystem)
LOGE("Filesystem was not initialized.\n");
return global_managers.filesystem;
}

AssetManagerInterface *asset_manager()
{
if (!global_managers.asset_manager)
LOGE("Asset manager was not initialized.\n");
return global_managers.asset_manager;
}

EventManagerInterface *event_manager()
{
if (!global_managers.event_manager)
LOGE("Event manager was not initialized.\n");
return global_managers.event_manager;
}

ThreadGroupInterface *thread_group()
{
if (!global_managers.thread_group)
LOGE("Thread group was not initialized.\n");
return global_managers.thread_group;
}

Expand All @@ -118,8 +110,6 @@ UI::UIManagerInterface *ui_manager()

CommonRendererDataInterface *common_renderer_data()
{
if (!global_managers.common_renderer_data)
LOGE("Common GPU data was not initialized. Lazily initializing.\n");
return global_managers.common_renderer_data;
}

Expand All @@ -136,8 +126,6 @@ void install_audio_system(Audio::BackendInterface *backend, Audio::MixerInterfac

PhysicsSystemInterface *physics()
{
if (!global_managers.physics)
LOGE("Physics system was not initialized.\n");
return global_managers.physics;
}

Expand Down

0 comments on commit a8213cb

Please sign in to comment.