mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 23:47:09 +01:00
Fix #extension crash on intel
This commit is contained in:
parent
cb5047f677
commit
17fb8d34ed
2 changed files with 1 additions and 1 deletions
|
@ -56,6 +56,7 @@ public class WorldShader {
|
|||
finalSource.append("#version ")
|
||||
.append(template.getVersion())
|
||||
.append('\n')
|
||||
.append("#extension GL_ARB_conservative_depth : enable\n")
|
||||
.append("#define ")
|
||||
.append(type.define) // special case shader type declaration
|
||||
.append('\n')
|
||||
|
|
|
@ -28,7 +28,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
|
||||
|
|
Loading…
Reference in a new issue