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