Skip to content
Snippets Groups Projects
Commit 5d3babdb authored by John Kessenich's avatar John Kessenich
Browse files

Build: Fix #1347: Compile with NV_EXTENSIONS disabled.

parent b9e9e57f
No related branches found
No related tags found
No related merge requests found
......@@ -3978,6 +3978,7 @@ void TParseContext::finish()
break;
}
#ifdef NV_EXTENSIONS
// Set default outputs for GL_NV_geometry_shader_passthrough
if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
if (intermediate.getOutputPrimitive() == ElgNone) {
......@@ -3997,6 +3998,7 @@ void TParseContext::finish()
}
}
}
#endif
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment