Skip to content
Snippets Groups Projects
Commit b7301cd2 authored by DarkGod's avatar DarkGod
Browse files

fix some shaders not using the correct tick

parent ac66335b
No related branches found
No related tags found
No related merge requests found
......@@ -574,7 +574,8 @@ static int program_use(lua_State *L)
if (active)
{
tglUseProgramObject(p->shader);
GLfloat t = SDL_GetTicks();
// GLfloat t = SDL_GetTicks();
GLfloat t = cur_frame_tick;
glUniform1fvARB(p->p_tick, 1, &t);
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment