Skip to content

Commit

Permalink
Fixed linking of _rmt_(Bind|Unbind)Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
fiserj committed Aug 27, 2024
1 parent e862ba4 commit ccfb0ca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/Remotery.h
Original file line number Diff line number Diff line change
Expand Up @@ -1203,11 +1203,21 @@ RMT_API rmtPropertyValue _rmt_PropertyGetValue(rmtProperty* property);
#endif

#if RMT_USE_METAL

#ifdef __OBJC__
#ifdef __cplusplus
extern "C" {
#endif

RMT_API void _rmt_BindMetal(id command_buffer);
RMT_API void _rmt_UnbindMetal();
#ifdef __cplusplus
}
#endif
#endif

#endif // __OBJC__

#endif // RMT_USE_METAL

#endif // RMT_ENABLED

Expand Down

0 comments on commit ccfb0ca

Please sign in to comment.