Skip to content

Commit

Permalink
Use hxcpp float
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Sep 12, 2024
1 parent 7b74420 commit 21f8853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/hx/TelemetryTracy.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
::tracy::ScopedZone ___tracy_scoped_zone(_hx_stackframe.lineNumber, _hx_stackframe.position->fullName, strlen(_hx_stackframe.position->fullName), _hx_stackframe.position->functionName, strlen(_hx_stackframe.position->functionName), name.utf8_str(&TracyConcat(_hx_tracy_str_buffer, TracyLine), &TracyConcat(_hx_tracy_str_length, TracyLine)), TracyConcat(_hx_tracy_str_length, TracyLine));

void __hxcpp_tracy_framemark();
void __hxcpp_tracy_plot(::String name, float val);
void __hxcpp_tracy_plot(::String name, ::Float val);
void __hxcpp_tracy_plot_config(::String name, uint8_t format, bool step, bool fill, int color);
void __hxcpp_tracy_message(::String msg, int color);
void __hxcpp_tracy_message_app_info(::String info);
Expand Down
2 changes: 1 addition & 1 deletion src/hx/TelemetryTracy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void __hxcpp_tracy_framemark()
::tracy::Profiler::SendFrameMark(0);
}

void __hxcpp_tracy_plot(String name, float val)
void __hxcpp_tracy_plot(String name, ::Float val)
{
hx::strbuf buffer;
::tracy::Profiler::PlotData(name.utf8_str(&buffer), val);
Expand Down

0 comments on commit 21f8853

Please sign in to comment.