Fix check in loadShader()
Merge pull request #2867 from federicobond/loadshader-fix

Fix check in loadShader()