Skip to content

Commit

Permalink
Merge pull request #264 from fiserj/main
Browse files Browse the repository at this point in the history
Fixed linking of _rmt_(Bind|Unbind)Metal when including from Obj-C++
  • Loading branch information
dwilliamson authored Aug 28, 2024
2 parents e862ba4 + 2007721 commit 5483f65
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/Remotery.h
Original file line number Diff line number Diff line change
Expand Up @@ -1197,10 +1197,6 @@ RMT_API const char* _rmt_PropertyGetName(rmtProperty* property);
RMT_API const char* _rmt_PropertyGetDescription(rmtProperty* property);
RMT_API rmtPropertyValue _rmt_PropertyGetValue(rmtProperty* property);

#ifdef __cplusplus

}
#endif

#if RMT_USE_METAL
#ifdef __OBJC__
Expand All @@ -1209,6 +1205,11 @@ RMT_API void _rmt_UnbindMetal();
#endif
#endif


#ifdef __cplusplus
}
#endif

#endif // RMT_ENABLED


Expand Down

0 comments on commit 5483f65

Please sign in to comment.