1
0
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:
fzurita 2019-09-28 20:51:53 -04:00 committed by Sergey Lipskiy
parent a42c66e305
commit 415e63d6d1

View File

@ -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);
}