[Metal] Exposing Selectors in iOS. Fixes #12648 (#13644)

This commit is contained in:
TJ Lambert 2022-01-04 16:42:52 -06:00 коммит произвёл GitHub
Родитель 53f69259cb
Коммит 226cc169d2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,4 +1,3 @@
#if MONOMAC
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
@ -11,6 +10,7 @@ using ObjCRuntime;
namespace Metal {
public static class IMTLRenderCommandEncoder_Extensions {
#if MONOMAC
#if !NET
[Mac (10,13), NoiOS, NoTV, NoWatch]
#endif
@ -28,6 +28,7 @@ namespace Metal {
fixed (void* handle = scissorRects)
This.SetScissorRects ((IntPtr)handle, (nuint)(scissorRects?.Length ?? 0));
}
#endif
#if IOS
#if !NET
@ -57,4 +58,3 @@ namespace Metal {
#endif
}
}
#endif