summaryrefslogtreecommitdiff
path: root/src/mesa/main/nvprogram.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-17 01:48:19 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-17 01:48:19 +0000
commit451f31093e950e2c76e8d7dee3cb097049a906b5 (patch)
tree84e85ea7c447acce7e3516c9d4d4dc9fadc8392d /src/mesa/main/nvprogram.h
parent2db8041ffed9db2e68c55f18eedeaa95c23ac761 (diff)
checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
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 7293804500..bc5118dbc2 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);