Skip to content

Commit

Permalink
Rebind application-requested program if we had to change it.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jul 31, 2008
1 parent 2994a5d commit ce14b9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_opengl.c
Expand Up @@ -1148,6 +1148,7 @@ static void lookup_uniforms(MOJOSHADER_glProgram *program,
fill_constant_array(f, base, size, pd);
ctx->profileUseProgramObject(program);
ctx->profileUniform4fv(pd, loc, size, f);
ctx->profileUseProgramObject(ctx->bound_program);
} // if
else
{
Expand Down

0 comments on commit ce14b9d

Please sign in to comment.