commit | 5b6858c023fca9d8eefce78121aabd9aad108e09 | [log] [tgz] |
---|---|---|
author | Brian <brian.paul@tungstengraphics.com> | Tue Jul 24 09:56:44 2007 -0600 |
committer | Brian <brian.paul@tungstengraphics.com> | Tue Jul 24 09:56:44 2007 -0600 |
tree | ccbb1b3edf34d967c1cac10278303bbff331fb42 | |
parent | ffc633c469d5056a8f3766243279cdf64b0f98c3 [diff] [blame] |
call ctx->Driver.NewProgram() instead of _mesa_new_program()
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index 4205919..1f22739 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c
@@ -333,7 +333,7 @@ { struct gl_program *clone; - clone = _mesa_new_program(ctx, prog->Target, prog->Id); + clone = ctx->Driver.NewProgram(ctx, prog->Target, prog->Id); if (!clone) return NULL;