mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 17:49:18 +00:00
Add missing dealloc messages to obj-c wrappers
This commit is contained in:
1 parent
d4cf31689e
commit
260ecd28f6
3 files changed
+18
No files matched your search
@@ -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