Fix typo maxOS -> macOS

Bug: dawn:1447
Change-Id: Ic370900d2675d80a537c40c58f5ea91fe4072a60
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92340
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
This commit is contained in:
Shrek Shao 2022-06-02 01:43:10 +00:00 committed by Dawn LUCI CQ
parent ad8caa2540
commit 2d74e1cf71
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ uint64_t Buffer::QueryMaxBufferLength(id<MTLDevice> mtlDevice) {
return 1024 * 1024 * 1024;
}
// 10.11 has a 256Mb limit
if (@available(maxOS 10.11, *)) {
if (@available(macOS 10.11, *)) {
return 256 * 1024 * 1024;
}
#else