summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_program.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-03-24 11:55:29 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-03-24 11:56:05 -0600
commit22a3d022542fed267d48b48a44e10226d55c8afd (patch)
treefd47254673f9eebb296969a13c9b5c958d6bb7ca /src/mesa/state_tracker/st_cb_program.c
parentd246274b9c48c01b61490f0a76c22aebb8e64e1e (diff)
gallium: free bitmap fragment shaders, misc clean-up
Diffstat (limited to 'src/mesa/state_tracker/st_cb_program.c')
-rw-r--r--src/mesa/state_tracker/st_cb_program.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c
index a739fcd336..003ec0d2b7 100644
--- a/src/mesa/state_tracker/st_cb_program.c
+++ b/src/mesa/state_tracker/st_cb_program.c
@@ -45,6 +45,7 @@
#include "st_context.h"
#include "st_program.h"
#include "st_atom_shader.h"
+#include "st_cb_program.h"
static GLuint SerialNo = 1;
@@ -122,8 +123,8 @@ static struct gl_program *st_new_program( GLcontext *ctx,
}
-static void st_delete_program( GLcontext *ctx,
- struct gl_program *prog )
+void
+st_delete_program(GLcontext *ctx, struct gl_program *prog)
{
struct st_context *st = st_context(ctx);
struct pipe_context *pipe = st->pipe;