mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
fix for last commit
This commit is contained in:
parent
30805c78cc
commit
34250bf224
@ -944,6 +944,14 @@ static void ogl_init_shader2_program()
|
|||||||
glUniform1i(loc, 0);
|
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");
|
loc = glGetUniformLocation(g_ogl.shader2_program, "FrameDirection");
|
||||||
if (loc != -1)
|
if (loc != -1)
|
||||||
glUniform1i(loc, 1);
|
glUniform1i(loc, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user