mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-08 22:55:27 +00:00
Reuse selectors.
This commit is contained in:
parent
c02e959f7a
commit
b0e7465f6c
|
@ -16,8 +16,8 @@ namespace OpenTK.Platform.MacOS
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public NSAutoreleasePool()
|
public NSAutoreleasePool()
|
||||||
{
|
{
|
||||||
_autoreleasePool = Cocoa.SendIntPtr(Class.NSAutoreleasePool, Selector.Get("alloc"));
|
_autoreleasePool = Cocoa.SendIntPtr(Class.NSAutoreleasePool, Selector.Alloc);
|
||||||
_autoreleasePool = Cocoa.SendIntPtr(_autoreleasePool, Selector.Get("init"));
|
_autoreleasePool = Cocoa.SendIntPtr(_autoreleasePool, Selector.Init);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue