closed #4761. fix a compile error
Merge pull request #6242 from andyque/fix_zfighting

fix a compile error