MCPcopy Create free account
hub / github.com/chrxh/alien / validateAndCorrect

Method validateAndCorrect

source/Gui/GpuSettingsDialog.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void GpuSettingsDialog::validateAndCorrect(GpuSettings& settings) const
79{
80 settings.numBlocks = std::min(1000000, std::max(16, settings.numBlocks));
81}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected