Removing uses of Sleep/SwitchToThread/etc.

This commit is contained in:
Ben Vanik
2015-07-13 21:54:24 -07:00
parent 40621a90bd
commit d89bad7380
8 changed files with 23 additions and 13 deletions

View File

@@ -125,7 +125,7 @@ X_STATUS GL4GraphicsSystem::Setup(cpu::Processor* processor,
MarkVblank();
last_frame_time = current_time;
}
Sleep(1);
xe::threading::Sleep(std::chrono::milliseconds::duration(1));
}
return 0;
}));