fix for last commit
This commit is contained in:
parent
30805c78cc
commit
34250bf224
1 changed files with 8 additions and 0 deletions
|
@ -944,6 +944,14 @@ static void ogl_init_shader2_program()
|
|||
glUniform1i(loc, 0);
|
||||
|
||||
|
||||
loc = glGetUniformLocation(g_ogl.shader2_program, "PassPrev2Texture");
|
||||
if (loc != -1)
|
||||
glUniform1i(loc, 1);
|
||||
|
||||
loc = glGetUniformLocation(g_ogl.shader2_program, "PassPrev2TextureSize");
|
||||
if (loc != -1)
|
||||
glUniform2fv(loc, 1, texture_size);
|
||||
|
||||
loc = glGetUniformLocation(g_ogl.shader2_program, "FrameDirection");
|
||||
if (loc != -1)
|
||||
glUniform1i(loc, 1);
|
||||
|
|
Loading…
Reference in a new issue