diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 3667e3c92..12c58113c 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -54,8 +54,8 @@ # include # define BGFX_PROFILER_SCOPE(_group, _name, _color) MICROPROFILE_SCOPEI(#_group, #_name, _color) # elif BGFX_CONFIG_PROFILER_REMOTERY -# include -# define BGFX_PROFILER_SCOPE(_group, _name, _color) rmt_ScopedCPUSample(_group##_name) +# include +# define BGFX_PROFILER_SCOPE(_group, _name, _color) rmt_ScopedCPUSample(_group##_##_name) # else # define BGFX_PROFILER_SCOPE(_group, _name, _color) BX_NOOP() # endif // BGFX_CONFIG_PROFILER_*