mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
fpglsl: set an integer uniform required by the loop example
This commit is contained in:
parent
5f80dad7fd
commit
1ad0a0fd8f
1 changed files with 5 additions and 0 deletions
|
|
@ -128,6 +128,11 @@ static void setup_uniforms()
|
|||
|
||||
}
|
||||
|
||||
{
|
||||
GLint loci = glGetUniformLocationARB(program, "KernelSizeInt");
|
||||
if (loci >= 0)
|
||||
glUniform1i(loci, 4);
|
||||
}
|
||||
{
|
||||
GLint loc1f = glGetUniformLocationARB(program, "KernelValue1f");
|
||||
GLint loc2f = glGetUniformLocationARB(program, "KernelValue2f");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue