mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Don't show drift adjustment for calibrated GPU contexts.
This commit is contained in:
parent
21f4981f38
commit
a3c51f0e7e
@ -7906,6 +7906,8 @@ void View::DrawOptions()
|
|||||||
{
|
{
|
||||||
ImGui::TextDisabled( "%s threads", RealToString( gpuData[i]->threadData.size() ) );
|
ImGui::TextDisabled( "%s threads", RealToString( gpuData[i]->threadData.size() ) );
|
||||||
}
|
}
|
||||||
|
if( !gpuData[i]->hasCalibration )
|
||||||
|
{
|
||||||
ImGui::TreePush();
|
ImGui::TreePush();
|
||||||
auto& drift = GpuDrift( gpuData[i] );
|
auto& drift = GpuDrift( gpuData[i] );
|
||||||
ImGui::SetNextItemWidth( 120 );
|
ImGui::SetNextItemWidth( 120 );
|
||||||
@ -7981,6 +7983,7 @@ void View::DrawOptions()
|
|||||||
}
|
}
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user