1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Specify minimum length of subframe skip in one place.

This commit is contained in:
Bartosz Taudul
2021-06-09 02:13:00 +02:00
parent e1c3babf43
commit 9c2ea8a71f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ static int CodeDataCb( void* data, uintptr_t pc, uintptr_t lowaddr, const char*
if( !fn ) return 1;
const auto fnsz = strlen( fn );
if( fnsz >= 19 ) // minimum length in s_tracySkipSubframes
if( fnsz >= s_tracySkipSubframesMinLen )
{
auto ptr = s_tracySkipSubframes;
do