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