Fix gl error when shader attar not found