mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 07:40:05 +00: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