Skip to content

Commit

Permalink
Remove unneeded QueryPerformanceFrequency call
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmith33 committed Aug 21, 2023
1 parent cd7d09d commit 9f10124
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/core/src/core/utils.vx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ struct Duration
i64 ticks;

f64 seconds() {
i64 freq;
QueryPerformanceFrequency(&freq);
return ticks / cast(f64)(_ticksPerSecond);
}
}
Expand Down

0 comments on commit 9f10124

Please sign in to comment.