mode = original_mode;
do {
  mode = (mode + 1) % STEREO_MODE_COUNT;
  if(g_windowing.support(mode) {
    SetStereoMode()
    break;
  } while(mode != original_mode);