Don't show drift adjustment for calibrated GPU contexts.

This commit is contained in:
Bartosz Taudul 2020-07-07 21:16:08 +02:00
parent 21f4981f38
commit a3c51f0e7e

View File

@ -7906,6 +7906,8 @@ void View::DrawOptions()
{
ImGui::TextDisabled( "%s threads", RealToString( gpuData[i]->threadData.size() ) );
}
if( !gpuData[i]->hasCalibration )
{
ImGui::TreePush();
auto& drift = GpuDrift( gpuData[i] );
ImGui::SetNextItemWidth( 120 );
@ -7981,6 +7983,7 @@ void View::DrawOptions()
}
ImGui::TreePop();
}
}
ImGui::TreePop();
}
}