Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed linking of _rmt_(Bind|Unbind)Metal when including from Obj-C++ #264

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading