commit | a760942b3579f7d863345b9d083abdc187266e08 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Wed Jul 01 13:06:49 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 01 13:06:49 2015 -0700 |
tree | 4448761716641bdee54659f4b714ae72b894bdb2 | |
parent | 74a07db2df189320d4f5804078dc2085b2d38d7c [diff] |
Don't cap num_cores at 32 on 32-bit Windows. See here for a similar change in Ninja. Wanna bet they just got Z840s too? https://github.com/martine/ninja/commit/8c8834acffdc0da0d94119725929acc712c9dfad BUG=skia: Review URL: https://codereview.chromium.org/1213063011
diff --git a/src/core/SkTaskGroup.cpp b/src/core/SkTaskGroup.cpp index 4504def..e809f57 100644 --- a/src/core/SkTaskGroup.cpp +++ b/src/core/SkTaskGroup.cpp
@@ -16,7 +16,7 @@ #if defined(SK_BUILD_FOR_WIN32) static void query_num_cores(int* num_cores) { SYSTEM_INFO sysinfo; - GetSystemInfo(&sysinfo); + GetNativeSystemInfo(&sysinfo); *num_cores = sysinfo.dwNumberOfProcessors; } #else