summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorFabian Bieler <fabianbieler@fastmail.fm>2014-03-07 10:39:39 +0100
committerMarek Olšák <marek.olsak@amd.com>2015-07-23 00:59:26 +0200
commit550a570c5325cc64a547fe4d6e1e75af2d0e9587 (patch)
treecdeff37f668029c9da4c65d9e26007e22af17838 /src/mesa/main/context.c
parent6823d713c68dfb5679a7c96d06f72c31f755d686 (diff)
downloadexternal_mesa3d-550a570c5325cc64a547fe4d6e1e75af2d0e9587.zip
external_mesa3d-550a570c5325cc64a547fe4d6e1e75af2d0e9587.tar.gz
external_mesa3d-550a570c5325cc64a547fe4d6e1e75af2d0e9587.tar.bz2
mesa: add misc tessellation shader stuff
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index a08c0d8..7451e5a 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1331,6 +1331,8 @@ _mesa_free_context_data( struct gl_context *ctx )
_mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current, NULL);
_mesa_reference_vertprog(ctx, &ctx->VertexProgram._TnlProgram, NULL);
+ _mesa_reference_tesscprog(ctx, &ctx->TessCtrlProgram._Current, NULL);
+ _mesa_reference_tesseprog(ctx, &ctx->TessEvalProgram._Current, NULL);
_mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current, NULL);
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL);