summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/tnl.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-28 14:32:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-28 14:32:49 +0000
commitb5ee368baf6472a79d250f0be418200760f4b43d (patch)
tree5851de5f58d12b73c43636bf05ded26385fb8c00 /src/mesa/tnl/tnl.h
parentf51bf9e23c4b41ada5edeae91b31f64319534e48 (diff)
TNL module needs to implement ctx->Driver.ProgramStringNotify() function
so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed.
Diffstat (limited to 'src/mesa/tnl/tnl.h')
-rw-r--r--src/mesa/tnl/tnl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h
index d04310fb53e..428fe12788a 100644
--- a/src/mesa/tnl/tnl.h
+++ b/src/mesa/tnl/tnl.h
@@ -83,5 +83,7 @@ _tnl_allow_vertex_fog( GLcontext *ctx, GLboolean value );
extern void
_tnl_allow_pixel_fog( GLcontext *ctx, GLboolean value );
+extern void
+_tnl_program_string(GLcontext *ctx, GLenum target, struct program *program);
#endif