mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
build fix
This commit is contained in:
parent
5dc29ba68d
commit
f6cfbf3239
@ -429,7 +429,7 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
|
|||||||
{
|
{
|
||||||
// There is no specific chrome-tracing type for frame events. We use messages that contain the word "frame"
|
// There is no specific chrome-tracing type for frame events. We use messages that contain the word "frame"
|
||||||
std::string lower(v.message);
|
std::string lower(v.message);
|
||||||
std::transform(lower.begin(), lower.end(), lower.begin(), std::tolower);
|
std::transform(lower.begin(), lower.end(), lower.begin(), [](char c) { return char(std::tolower(c)); });
|
||||||
if (lower.find("frame") != std::string::npos)
|
if (lower.find("frame") != std::string::npos)
|
||||||
{
|
{
|
||||||
// Reserve 0 as the default FrameSet, since it replaces the name with "Frame" and we want to keep our custom names.
|
// Reserve 0 as the default FrameSet, since it replaces the name with "Frame" and we want to keep our custom names.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user