Enable depth writing for a few places where it wasn't previously.
Also fixed some line endings.
Merge branch 'master' of github.com:Luomu/ssp into LibOVR