bugfix #13618 - 2d filters + GLSL python scripts
This commit is contained in:
parent
772d241582
commit
d565e8a02f
@ -166,6 +166,9 @@ void RAS_2DFilterManager::StartShaderProgram(unsigned int shaderprogram)
|
||||
GLint uniformLoc;
|
||||
bgl::blUseProgramObjectARB(shaderprogram);
|
||||
uniformLoc = bgl::blGetUniformLocationARB(shaderprogram, "bgl_RenderedTexture");
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(GL_TEXTURE_2D, texname);
|
||||
|
||||
if (uniformLoc != -1)
|
||||
{
|
||||
bgl::blUniform1iARB(uniformLoc, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user