mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Set s_hookObjcMethods true in MTLHookObjcMethods
PR Feedback
This commit is contained in:
committed by
Baldur Karlsson
parent
814ad814cd
commit
39cdfeb138
@@ -79,6 +79,7 @@ void WrappedMTLDevice::MTLHookObjcMethods()
|
||||
class_getInstanceMethod(objc_lookUpClass("CAMetalLayer"), sel_registerName("nextDrawable"));
|
||||
g_real_CAMetalLayer_nextDrawable =
|
||||
method_setImplementation(m, (IMP)hooked_CAMetalLayer_nextDrawable);
|
||||
s_hookObjcMethods = true;
|
||||
}
|
||||
|
||||
void WrappedMTLDevice::MTLFixupForMetalDriverAssert()
|
||||
|
||||
Reference in New Issue
Block a user