What to do when setShaderAuto() fails?

Maybe the shader generator can have a return value? Say an error code?

If there would be an error we could change some settings and maybe even restart the game with some safer options if it’s too late for a quick fix… or do nothing… or give the player a pop-up warning that something went wrong and suggest to change graphic options (or buy better hardware).