diff options
author | Brian <[email protected]> | 2006-12-20 09:27:42 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-20 09:27:42 -0700 |
commit | 9e4bae9ccac5a76a2361c5c3cbe377a3c6b6a95b (patch) | |
tree | 49457c5d38d27a54d59d3e0429f8dcd46eab6882 /src/mesa/shader/shader_api.h | |
parent | 65a18442e5d846940714bb662f5b1bb47ab60c29 (diff) |
Fix shader object reference counting and hash table deallocation.
Diffstat (limited to 'src/mesa/shader/shader_api.h')
-rw-r--r-- | src/mesa/shader/shader_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/shader_api.h b/src/mesa/shader/shader_api.h index 2f73bb88871..315f60a35f7 100644 --- a/src/mesa/shader/shader_api.h +++ b/src/mesa/shader/shader_api.h @@ -46,7 +46,7 @@ _mesa_free_shader_program_data(GLcontext *ctx, struct gl_shader_program *shProg); extern void -_mesa_delete_shader_program(GLcontext *ctx, struct gl_shader_program *shProg); +_mesa_free_shader_program(GLcontext *ctx, struct gl_shader_program *shProg); extern struct gl_shader_program * _mesa_lookup_shader_program(GLcontext *ctx, GLuint name); @@ -55,6 +55,9 @@ _mesa_lookup_shader_program(GLcontext *ctx, GLuint name); extern struct gl_shader * _mesa_new_shader(GLcontext *ctx, GLuint name, GLenum type); +extern void +_mesa_free_shader(GLcontext *ctx, struct gl_shader *sh); + extern struct gl_shader * _mesa_lookup_shader(GLcontext *ctx, GLuint name); |