Fix #extension crash on intel

This commit is contained in:
Jozufozu 2021-12-15 13:27:07 -08:00
parent c1851bb081
commit 67bcbc874b

View File

@ -42,7 +42,6 @@ void FLWFinalizeWorldPos(inout vec4 worldPos) {
// optimize discard usage
#if defined(ALPHA_DISCARD)
#if defined(GL_ARB_conservative_depth)
#extension GL_ARB_conservative_depth : enable
layout (depth_greater) out float gl_FragDepth;
#endif
#endif