Fixing misuse of std::chrono.

This commit is contained in:
Ben Vanik
2015-08-18 10:18:30 -07:00
parent 2820ff85e5
commit ad090a40eb
7 changed files with 7 additions and 8 deletions

View File

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