summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-16 17:33:49 -0600
committerBrian <[email protected]>2007-08-16 17:33:49 -0600
commite3bdd66bf69fb12fa02d161989755944077b280d (patch)
tree51e02d74648ad379499ef8d338988e57b4f24f65 /src/mesa/state_tracker/st_context.c
parentbf55f32c6fd74b8eb0b31dce0ebd8f4c52f57743 (diff)
misc changes to support vertex shaders (disabled by default)
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 2a85ce6baa2..35a262ab5b5 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -73,6 +73,9 @@ struct st_context *st_create_context( GLcontext *ctx,
st->ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE;
st->ctx->FragmentProgram._UseTexEnvProgram = GL_TRUE;
+ st->ctx->VertexProgram._MaintainTnlProgram = GL_TRUE;
+
+
#if 0
st_init_cb_clear( st );
st_init_cb_program( st );