projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e977fb
)
delete default programs with ctx->Driver.DeleteProgram()
author
Brian
<brian.paul@tungstengraphics.com>
Sat, 22 Mar 2008 15:12:02 +0000
(09:12 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 22 Mar 2008 15:12:02 +0000
(09:12 -0600)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index a9f9bd9da4458aa345fd45a41a8a462356c0cb12..d06644f65dd4e26e58b8340fea64f5c411ecedcf 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-695,10
+695,10
@@
free_shared_state( GLcontext *ctx, struct gl_shared_state *ss )
_mesa_DeleteHashTable(ss->Programs);
#endif
#if FEATURE_ARB_vertex_program
-
_mesa_delete_p
rogram(ctx, ss->DefaultVertexProgram);
+
ctx->Driver.DeleteP
rogram(ctx, ss->DefaultVertexProgram);
#endif
#if FEATURE_ARB_fragment_program
-
_mesa_delete_p
rogram(ctx, ss->DefaultFragmentProgram);
+
ctx->Driver.DeleteP
rogram(ctx, ss->DefaultFragmentProgram);
#endif
#if FEATURE_ATI_fragment_shader