Fixed depth matrix shaders in OpenGL and Direct3D to be more precise. Fixes some graphical glitches in some games.
Merge pull request #823 from KScorp/depthmatrixshaders

Fixed depth matrix shaders in OpenGL and Direct3D to be more precise.