[Base] Make --win32_high_freq=false actually work.
This commit is contained in:
@@ -85,11 +85,6 @@ static void RequestHighPerformance() {
|
||||
int Main() {
|
||||
auto entry_info = xe::GetEntryInfo();
|
||||
|
||||
// Request high performance timing.
|
||||
if (FLAGS_win32_high_freq) {
|
||||
RequestHighPerformance();
|
||||
}
|
||||
|
||||
// Convert command line to an argv-like format so we can share code/use
|
||||
// gflags.
|
||||
auto command_line = GetCommandLineW();
|
||||
@@ -136,6 +131,11 @@ int Main() {
|
||||
XELOGI("Build: %s / %s on %s", XE_BUILD_BRANCH, XE_BUILD_COMMIT,
|
||||
XE_BUILD_DATE);
|
||||
|
||||
// Request high performance timing.
|
||||
if (FLAGS_win32_high_freq) {
|
||||
RequestHighPerformance();
|
||||
}
|
||||
|
||||
// Call app-provided entry point.
|
||||
int result = entry_info.entry_point(args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user