Skip to content

Commit

Permalink
Fix build when renderer is not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Jun 18, 2024
1 parent c7e27df commit 7037f83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "application.hpp"
#include "asset_manager.hpp"
#include "thread_group.hpp"
#include "material_manager.hpp"
#ifdef HAVE_GRANITE_RENDERER
#include "material_manager.hpp"
#include "common_renderer_data.hpp"
#endif
#ifdef HAVE_GRANITE_AUDIO
Expand Down
4 changes: 2 additions & 2 deletions application/global/global_managers_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include "thread_group.hpp"
#include "filesystem.hpp"
#include "asset_manager.hpp"
#include "material_manager.hpp"
#ifdef HAVE_GRANITE_RENDERER
#include "material_manager.hpp"
#include "common_renderer_data.hpp"
#include "ui_manager.hpp"
#endif
Expand Down Expand Up @@ -83,7 +83,7 @@ struct FactoryImplementation : Factory
#endif
}

MaterialManager *create_material_manager() override
MaterialManagerInterface *create_material_manager() override
{
#ifdef HAVE_GRANITE_RENDERER
return new MaterialManager;
Expand Down

0 comments on commit 7037f83

Please sign in to comment.