Call QSurfaceFormat::setDefaultFormat only once
In theory, as long as it's set before QApplication is created and not
changed after that there should be no problem. However Qt outputs a
warning even if it's called with the same arguments. We should reduce
logging noise.