i had that too, i think you have to comment out the temp terrain shader which uses the d3deffect.