Fixed. now Tutorial 40: Shadow Mapping works!