diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index 8bd05bfac..42c5c0d17 100644 --- a/src/graphics/shader.cpp +++ b/src/graphics/shader.cpp @@ -203,6 +203,9 @@ int ShaderBase::loadTFBProgram(const std::string &shader_name, { m_program = glCreateProgram(); loadAndAttachShader(GL_VERTEX_SHADER, shader_name); +#ifdef USE_GLES2 + loadAndAttachShader(GL_FRAGMENT_SHADER, "tfb_dummy.frag"); +#endif if (CVS->getGLSLVersion() < 330) setAttribute(PARTICLES_SIM);