mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix shader compilation error in GLES 2.0
This commit is contained in:
parent
a42c66e305
commit
415e63d6d1
|
@ -824,6 +824,9 @@ namespace glsl {
|
|||
|
||||
graphics::ShaderProgram * SpecialShadersFactory::createTexrectColorAndDepthCopyShader() const
|
||||
{
|
||||
if (m_glinfo.isGLES2)
|
||||
return nullptr;
|
||||
|
||||
return new TexrectColorAndDepthCopyShader(m_glinfo, m_useProgram, m_vertexHeader, m_fragmentHeader, m_fragmentEnd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user