Fixed particles
This commit is contained in:
parent
964baad705
commit
f73befbe0b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user