Slight reformatting of shader error checking.