summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-11 22:11:21 -0400
committerMarek Olšák <[email protected]>2015-07-23 00:59:29 +0200
commitba9fb96f86344f1631b82114bb0ce6f926d3853a (patch)
tree50d83bab7a58f3dba1bdd52729a7b197248f7a4a /src/mesa/state_tracker/st_context.c
parentdf4ee8ef366c60ad41502d4e45e0347c1ef1e348 (diff)
st/mesa: add tessellation shader states
additional fixes by Marek
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 62a0fbee3bb..0c80fa1179d 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -374,6 +374,8 @@ void st_destroy_context( struct st_context *st )
st_reference_fragprog(st, &st->fp, NULL);
st_reference_geomprog(st, &st->gp, NULL);
st_reference_vertprog(st, &st->vp, NULL);
+ st_reference_tesscprog(st, &st->tcp, NULL);
+ st_reference_tesseprog(st, &st->tep, NULL);
/* release framebuffer surfaces */
for (i = 0; i < PIPE_MAX_COLOR_BUFS; i++) {