Fix undefined variable usage after 2703efedef

This commit is contained in:
Cameron Gutman
2019-03-23 20:25:19 -07:00
parent fa4c0e82bd
commit c48ed7bb0d
2 changed files with 9 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ int NullThreadedVsyncSource::vsyncThread(void* context)
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_TIME_CRITICAL);
#else
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
#endif;
#endif
while (SDL_AtomicGet(&me->m_Stopping) == 0) {
me->m_Pacer->vsyncCallback(1000 / me->m_DisplayFps);