Eevee: Fix broken AO and Contact shadows on certain platform.

This was caused by ce0f70fbd6
This commit is contained in:
Clément Foucault 2018-02-14 19:02:03 +01:00
parent 0ef981f603
commit 2464dcef37
1 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,6 @@ void main()
#if defined(GPU_INTEL) || defined(GPU_ATI)
/* Use color format instead of 24bit depth texture */
fragColor = vec4(val);
#else
gl_FragDepth = val;
#endif
gl_FragDepth = val;
}