mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-27 18:21:54 +01:00
gl_shader_gen.cpp: Fix separable shaders when GL_EXT_clip_cull_distance is not supported
This commit is contained in:
parent
80b8d66017
commit
80799b1e5d
@ -102,7 +102,9 @@ static std::string GetVertexInterfaceDeclaration(bool is_output, bool separable_
|
||||
out += R"(
|
||||
out gl_PerVertex {
|
||||
vec4 gl_Position;
|
||||
#if !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance)
|
||||
float gl_ClipDistance[2];
|
||||
#endif // !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance)
|
||||
};
|
||||
)";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user