Fixing builds when profiling is disabled.

This commit is contained in:
Ben Vanik 2016-01-01 04:49:14 +00:00
parent c2649b1fd4
commit c4ca7ad2ae
1 changed files with 2 additions and 0 deletions

View File

@ -46,8 +46,10 @@ DEFINE_bool(show_profiler, false, "Show profiling UI by default.");
namespace xe {
#if XE_OPTION_PROFILING_UI
ui::Window* Profiler::window_ = nullptr;
std::unique_ptr<ui::MicroprofileDrawer> Profiler::drawer_ = nullptr;
#endif // XE_OPTION_PROFILING_UI
#if XE_OPTION_PROFILING