Shader: Simplify error handling
Merge pull request #34 from crumblingstatue/master

Shader: Simplify error handling