ClearBuffer(): Clear depth to 1.0
Merge pull request #4959 from raven02/patch-30

ClearBuffer(): Clear depth to 1.0