mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GLES: Explicitly enable ARB_cull_distance.
This commit is contained in:
parent
c99e19c194
commit
142db5d61e
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ bool GenerateVertexShader(const VShaderID &id, char *buffer, const ShaderLanguag
|
|||
if (gl_extensions.APPLE_clip_distance && id.Bit(VS_BIT_VERTEX_RANGE_CULLING)) {
|
||||
gl_exts.push_back("#extension GL_APPLE_clip_distance : enable");
|
||||
}
|
||||
if (gl_extensions.ARB_cull_distance && id.Bit(VS_BIT_VERTEX_RANGE_CULLING)) {
|
||||
gl_exts.push_back("#extension GL_ARB_cull_distance : enable");
|
||||
}
|
||||
}
|
||||
ShaderWriter p(buffer, compat, ShaderStage::Vertex, gl_exts.data(), gl_exts.size());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue