SDL: don't call error() inside setupScreen(), it will crash if debugger is used