summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_simple_shaders.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-02-19 13:02:47 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-02-19 13:29:04 +0000
commit85b0c171c04c00b4ca9e11a1c79872f5e0cbaf9c (patch)
tree37e4f4eebbc3c2e29935a0f8922a6613cb64433a /src/gallium/auxiliary/util/u_simple_shaders.h
parentb9c5e41688de0e2978cf2cc50fd6ba096302884d (diff)
mesa: Free the util shaders with the gallium's FREE.
Diffstat (limited to 'src/gallium/auxiliary/util/u_simple_shaders.h')
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.h b/src/gallium/auxiliary/util/u_simple_shaders.h
index 8ca4977d71..99b8d9067d 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.h
+++ b/src/gallium/auxiliary/util/u_simple_shaders.h
@@ -60,6 +60,10 @@ util_make_fragment_passthrough_shader(struct pipe_context *pipe,
struct pipe_shader_state *shader);
+extern void
+util_free_shader(struct pipe_shader_state *shader);
+
+
#ifdef __cplusplus
}
#endif