diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-22 09:11:43 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-22 09:13:28 -0600 |
commit | 731dec1bd52abbaf77f21fa37c9c192611dcd1a5 (patch) | |
tree | 1d0db6a6d5e599a3177121ef6e7426b392136209 /src/mesa/main | |
parent | c60b5dfde869c208a479ac273f4538d4d07574cf (diff) |
delete default programs with ctx->Driver.DeleteProgram()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 63dc1379e9..62d592767d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -706,10 +706,10 @@ free_shared_state( GLcontext *ctx, struct gl_shared_state *ss ) _mesa_DeleteHashTable(ss->Programs); #endif #if FEATURE_ARB_vertex_program - _mesa_delete_program(ctx, ss->DefaultVertexProgram); + ctx->Driver.DeleteProgram(ctx, ss->DefaultVertexProgram); #endif #if FEATURE_ARB_fragment_program - _mesa_delete_program(ctx, ss->DefaultFragmentProgram); + ctx->Driver.DeleteProgram(ctx, ss->DefaultFragmentProgram); #endif #if FEATURE_ATI_fragment_shader |