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