Fix building with profiling disabled

This commit is contained in:
sephiroth99 2015-12-30 10:17:17 -05:00
parent cbc74c92f4
commit fc04ca040f
1 changed files with 3 additions and 3 deletions

View File

@ -37,10 +37,8 @@
#include "third_party/microprofile/microprofileui.h" #include "third_party/microprofile/microprofileui.h"
#endif // XE_OPTION_PROFILING #endif // XE_OPTION_PROFILING
#if XE_OPTION_PROFILING_UI
#undef DrawText #undef DrawText
#include "xenia/ui/microprofile_drawer.h" #include "xenia/ui/microprofile_drawer.h"
#endif // XE_OPTION_PROFILING_UI
DEFINE_bool(show_profiler, false, "Show profiling UI by default."); DEFINE_bool(show_profiler, false, "Show profiling UI by default.");
@ -261,7 +259,9 @@ void Profiler::OnMouseDown(bool left_button, bool right_button) {}
void Profiler::OnMouseUp() {} void Profiler::OnMouseUp() {}
void Profiler::OnMouseMove(int x, int y) {} void Profiler::OnMouseMove(int x, int y) {}
void Profiler::OnMouseWheel(int x, int y, int dy) {} void Profiler::OnMouseWheel(int x, int y, int dy) {}
void Profiler::set_display(std::unique_ptr<ui::MicroprofilerDrawer> display) {} void Profiler::ToggleDisplay() {}
void Profiler::TogglePause() {}
void Profiler::set_window(ui::Window* window) {}
void Profiler::Present() {} void Profiler::Present() {}
#endif // XE_OPTION_PROFILING #endif // XE_OPTION_PROFILING