Skip to content

Commit 21f8853

Browse files
committed
Use hxcpp float
1 parent 7b74420 commit 21f8853

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/hx/TelemetryTracy.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
::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));
2626

2727
void __hxcpp_tracy_framemark();
28-
void __hxcpp_tracy_plot(::String name, float val);
28+
void __hxcpp_tracy_plot(::String name, ::Float val);
2929
void __hxcpp_tracy_plot_config(::String name, uint8_t format, bool step, bool fill, int color);
3030
void __hxcpp_tracy_message(::String msg, int color);
3131
void __hxcpp_tracy_message_app_info(::String info);

src/hx/TelemetryTracy.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void __hxcpp_tracy_framemark()
226226
::tracy::Profiler::SendFrameMark(0);
227227
}
228228

229-
void __hxcpp_tracy_plot(String name, float val)
229+
void __hxcpp_tracy_plot(String name, ::Float val)
230230
{
231231
hx::strbuf buffer;
232232
::tracy::Profiler::PlotData(name.utf8_str(&buffer), val);

0 commit comments

Comments
 (0)