Fixing builds when profiling is disabled.
This commit is contained in:
parent
c2649b1fd4
commit
c4ca7ad2ae
|
@ -46,8 +46,10 @@ DEFINE_bool(show_profiler, false, "Show profiling UI by default.");
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
|
|
||||||
|
#if XE_OPTION_PROFILING_UI
|
||||||
ui::Window* Profiler::window_ = nullptr;
|
ui::Window* Profiler::window_ = nullptr;
|
||||||
std::unique_ptr<ui::MicroprofileDrawer> Profiler::drawer_ = nullptr;
|
std::unique_ptr<ui::MicroprofileDrawer> Profiler::drawer_ = nullptr;
|
||||||
|
#endif // XE_OPTION_PROFILING_UI
|
||||||
|
|
||||||
#if XE_OPTION_PROFILING
|
#if XE_OPTION_PROFILING
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue