diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-22 09:11:35 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-22 09:11:35 -0600 |
commit | 325dbbac47e42619876f902dcaeca80fc2e453a4 (patch) | |
tree | 39cc600c24a150c1b95ec7004069fe022d77d476 | |
parent | 39ac6b04811ddf22cae95e3e1ee1dccdcb4f2007 (diff) |
delete default programs with ctx->Driver.DeleteProgram()
-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 9de515d840..e79a905346 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -687,10 +687,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 |