diff options
author | Brian <[email protected]> | 2007-07-24 09:57:26 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-24 09:57:26 -0600 |
commit | 4477a01372c87b84e859c7522501d55a62f11b88 (patch) | |
tree | 2919e59b2e8c12ce3b60c845004a72c18706cae5 /src/mesa/shader/slang/slang_compile.c | |
parent | 5b737b7df21b418c71f71af987a20c495b1133f8 (diff) |
call ctx->Driver.NewProgram() instead of _mesa_new_program()
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 70f5aac16d4..4e29e8dcc90 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -2135,7 +2135,7 @@ _slang_compile(GLcontext *ctx, struct gl_shader *shader) progTarget = GL_FRAGMENT_PROGRAM_ARB; shader->Programs = (struct gl_program **) malloc(sizeof(struct gl_program*)); - shader->Programs[0] = _mesa_new_program(ctx, progTarget, 1); + shader->Programs[0] = ctx->Driver.NewProgram(ctx, progTarget, 1); shader->NumPrograms = 1; shader->Programs[0]->Parameters = _mesa_new_parameter_list(); |