mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- all source compile now on macOS
This commit is contained in:
parent
8f455d8ffa
commit
cfed7afd02
24 changed files with 219 additions and 597 deletions
|
@ -53,11 +53,6 @@ static uint64_t GetClockTimeNS()
|
|||
return (uint64_t)((duration_cast<microseconds>(steady_clock::now().time_since_epoch()).count()) * (uint64_t)(TimeScale * 1000));
|
||||
}
|
||||
|
||||
static uint64_t MSToNS(unsigned int ms)
|
||||
{
|
||||
return static_cast<uint64_t>(ms) * 1'000'000;
|
||||
}
|
||||
|
||||
static uint64_t NSToMS(uint64_t ns)
|
||||
{
|
||||
return static_cast<uint64_t>(ns / 1'000'000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue