Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-17 17:26:59 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-17 17:26:59 +0300
commitf957f64ce12a06848363c8d2ecac4ba6123501cd (patch)
tree0c29b00dd8fcce380a9cf6b06657e78bcfb5ae6d /server/TracyView.cpp
parent26be78530fc718a7f33a3d78605716f44169902b (diff)
No magic numbers.
Diffstat (limited to 'server/TracyView.cpp')
-rw-r--r--server/TracyView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp
index 23cd91f0..aa72ba4b 100644
--- a/server/TracyView.cpp
+++ b/server/TracyView.cpp
@@ -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 );