Fix link error when profiling is disabled

These four functions are needed by microprofile even when profiling
is disabled.
This commit is contained in:
sephiroth99 2016-01-20 09:35:27 -05:00
parent d4145173a1
commit d78317847d
1 changed files with 1 additions and 2 deletions

View File

@ -272,8 +272,6 @@ void Profiler::Present() {}
} // namespace xe
#if XE_OPTION_PROFILING
uint32_t MicroProfileGpuInsertTimeStamp() { return 0; }
uint64_t MicroProfileGpuGetTimeStamp(uint32_t nKey) { return 0; }
@ -282,6 +280,7 @@ uint64_t MicroProfileTicksPerSecondGpu() { return 0; }
const char* MicroProfileGetThreadName() { return "TODO: get thread name!"; }
#if XE_OPTION_PROFILING
#if XE_OPTION_PROFILING_UI
void MicroProfileDrawBox(int nX, int nY, int nX1, int nY1, uint32_t nColor,