mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
No magic numbers.
This commit is contained in:
@@ -5046,7 +5046,7 @@ void View::DrawZoneInfoWindow()
|
||||
}
|
||||
ImGui::NextColumn();
|
||||
const char* desc;
|
||||
if( reason == 100 )
|
||||
if( reason == ContextSwitchData::NoState )
|
||||
{
|
||||
ImGui::TextUnformatted( DecodeContextSwitchStateCode( state ) );
|
||||
desc = DecodeContextSwitchState( state );
|
||||
|
||||
Reference in New Issue
Block a user