You must check which modes are available and then select the highest one.
Remember that this may mean your program runs incredibly slowly on the user's Pc though.
Better to select an average mode and give the user the choice of selecting higher or lower.
Remember that this may mean your program runs incredibly slowly on the user's Pc though.
Better to select an average mode and give the user the choice of selecting higher or lower.