From 2d74e1cf718b330b26a3954d6f6092c610730406 Mon Sep 17 00:00:00 2001 From: Shrek Shao Date: Thu, 2 Jun 2022 01:43:10 +0000 Subject: [PATCH] Fix typo maxOS -> macOS Bug: dawn:1447 Change-Id: Ic370900d2675d80a537c40c58f5ea91fe4072a60 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92340 Reviewed-by: Austin Eng Commit-Queue: Shrek Shao --- src/dawn/native/metal/BufferMTL.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn/native/metal/BufferMTL.mm b/src/dawn/native/metal/BufferMTL.mm index 8f703ef407..42f8b7ee7e 100644 --- a/src/dawn/native/metal/BufferMTL.mm +++ b/src/dawn/native/metal/BufferMTL.mm @@ -50,7 +50,7 @@ uint64_t Buffer::QueryMaxBufferLength(id 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