mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make METAL_NOT_HOOKED() be Fatal instead of Error
This commit is contained in:
committed by
Baldur Karlsson
parent
049884f51b
commit
2f30ad3e27
@@ -305,10 +305,10 @@ DECLARE_REFLECTION_ENUM(MetalChunk);
|
||||
#define IsReplayingAndReading() (ser.IsReading() && IsReplayMode(m_Device->GetState()))
|
||||
|
||||
#ifdef __OBJC__
|
||||
#define METAL_NOT_HOOKED() \
|
||||
do \
|
||||
{ \
|
||||
RDCERR("Metal %s %s not hooked", object_getClassName(self), sel_getName(_cmd)); \
|
||||
#define METAL_NOT_HOOKED() \
|
||||
do \
|
||||
{ \
|
||||
RDCFATAL("Metal %s %s not hooked", object_getClassName(self), sel_getName(_cmd)); \
|
||||
} while((void)0, 0)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user