aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-24 09:57:26 -0600
committerBrian <[email protected]>2007-07-24 09:57:26 -0600
commit4477a01372c87b84e859c7522501d55a62f11b88 (patch)
tree2919e59b2e8c12ce3b60c845004a72c18706cae5 /src/mesa/shader/program.c
parent5b737b7df21b418c71f71af987a20c495b1133f8 (diff)
call ctx->Driver.NewProgram() instead of _mesa_new_program()
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r--src/mesa/shader/program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index 42059198282..1f227390afd 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -333,7 +333,7 @@ _mesa_clone_program(GLcontext *ctx, const struct gl_program *prog)
{
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;