Fix multiple GPU drift entry fields.

This commit is contained in:
Bartosz Taudul 2019-08-04 00:33:31 +02:00
parent 323c37bd33
commit 9b7384b407

View File

@ -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();