aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvprogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/nvprogram.h')
-rw-r--r--src/mesa/main/nvprogram.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/nvprogram.h b/src/mesa/main/nvprogram.h
index 7293804500a..bc5118dbc2b 100644
--- a/src/mesa/main/nvprogram.h
+++ b/src/mesa/main/nvprogram.h
@@ -1,4 +1,4 @@
-/* $Id: nvprogram.h,v 1.6 2003/03/29 16:37:08 brianp Exp $ */
+/* $Id: nvprogram.h,v 1.7 2003/04/17 01:48:20 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -40,8 +40,11 @@ extern const GLubyte *
_mesa_find_line_column(const GLubyte *string, const GLubyte *pos,
GLint *line, GLint *col);
+extern struct program *
+_mesa_alloc_program(GLcontext *ctx, GLenum target, GLuint id);
+
extern void
-_mesa_delete_program(GLcontext *ctx, GLuint id);
+_mesa_delete_program(GLcontext *ctx, struct program *prog);