mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Rename ObjC helper GetResId -> GetResID
This commit is contained in:
committed by
Baldur Karlsson
parent
6a657bd19f
commit
308456535f
@@ -38,7 +38,7 @@
|
||||
extern WrappedMTL##CPPTYPE *GetWrapped(MTL::CPPTYPE *objCWrapped); \
|
||||
extern MTL::CPPTYPE *GetReal(MTL::CPPTYPE *objCWrapped); \
|
||||
extern bool IsObjCWrapped(MTL::CPPTYPE *objCWrapped); \
|
||||
extern ResourceId GetResId(MTL::CPPTYPE *objCWrapped); \
|
||||
extern ResourceId GetResID(MTL::CPPTYPE *objCWrapped); \
|
||||
extern MTL::CPPTYPE *AllocateObjCBridge(WrappedMTL##CPPTYPE *wrapped);
|
||||
|
||||
METALCPP_WRAPPED_PROTOCOLS(DECLARE_OBJC_HELPERS)
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
return [objC isKindOfClass:[ObjCBridgeMTL##CPPTYPE class]]; \
|
||||
} \
|
||||
\
|
||||
ResourceId GetResId(MTL::CPPTYPE *cppType) \
|
||||
ResourceId GetResID(MTL::CPPTYPE *cppType) \
|
||||
{ \
|
||||
WrappedMTL##CPPTYPE *wrappedCPP = GetWrapped(cppType); \
|
||||
if(wrappedCPP == NULL) \
|
||||
|
||||
Reference in New Issue
Block a user