Add a fix to the depth for the target texture1829/head
commita7952bfe1d946c11cd15ae60613e3e1cd2a0120e
authorirei1as <irei1as@users.noreply.github.com>
Tue, 22 Nov 2016 15:30:29 +0000 (22 16:30 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2016 15:30:29 +0000 (22 16:30 +0100)
tree326bd268050d9c6ed12800ab178d092cc2115a52
parent8b43ff3465f0a120184657e62c89b9e6358efd72
Add a fix to the depth for the target texture

Fix to the named texture to have the 3d depth correctly rendered if a 3d view is inside the guiOffscreenCanvas.
It's disabled by default so it shouldn't change anything to projects that use guiOffscreenCanvas without the texture (like Oculus rendering).
Engine/source/gui/core/guiOffscreenCanvas.cpp