New Parameter function to setup glsl programs that use geometry shaders
This commit is contained in:
parent
5d25249427
commit
117c2a06de
|
@ -487,6 +487,12 @@ public:
|
|||
glUniform4f(loc, x, y, z, w);
|
||||
}
|
||||
|
||||
void Parameter(GLenum pname, int value)
|
||||
{
|
||||
glProgramParameteriEXT(this->objectID, pname, value);
|
||||
}
|
||||
|
||||
|
||||
protected:
|
||||
std::set<Shader *> shaders;
|
||||
bool linked;
|
||||
|
|
Loading…
Reference in New Issue