mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Add missing dealloc messages to obj-c wrappers
This commit is contained in:
committed by
Baldur Karlsson
parent
d4cf31689e
commit
260ecd28f6
@@ -34,6 +34,12 @@
|
||||
return id<MTLCommandQueue>(Unwrap(self.wrappedCPP));
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
self.wrappedCPP->Dealloc();
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
// Use the real MTLCommandQueue to find methods from messages
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
|
||||
@@ -42,6 +42,12 @@
|
||||
return id<MTLDevice>(Unwrap(self.wrappedCPP));
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
self.wrappedCPP->Dealloc();
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
// Use the real MTLDevice to find methods from messages
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
|
||||
@@ -34,6 +34,12 @@
|
||||
return id<MTLLibrary>(Unwrap(self.wrappedCPP));
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
self.wrappedCPP->Dealloc();
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
// Use the real MTLLibrary to find methods from messages
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user