Use USING_WIN_UI for desktop Windows console.

This commit is contained in:
Unknown W. Brackets committed 2016-01-03 15:10:50 -08:00
1 parent d165680ee7
commit da78ec0b4d
7 files changed
+26 -26

No files matched your search

+2 -2
View File
@@ -153,14 +153,14 @@ std::string Timer::GetTimeElapsedFormatted() const
// Get current time
void Timer::IncreaseResolution()
{
#if defined(_WIN32) && !defined(_XBOX)
#if defined(USING_WIN_UI)
timeBeginPeriod(1);
#endif
}
void Timer::RestoreResolution()
{
#if defined(_WIN32) && !defined(_XBOX)
#if defined(USING_WIN_UI)
timeEndPeriod(1);
#endif
}