mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix multiple GPU drift entry fields.
This commit is contained in:
parent
323c37bd33
commit
9b7384b407
@ -5281,7 +5281,9 @@ void View::DrawOptions()
|
||||
ImGui::TreePush();
|
||||
auto& drift = GpuDrift( gpuData[i] );
|
||||
ImGui::SetNextItemWidth( 120 );
|
||||
ImGui::PushID( i );
|
||||
ImGui::InputInt( "Drift (ns/s)", &drift );
|
||||
ImGui::PopID();
|
||||
if( timeline.size() > 1 )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user