summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-28 16:09:23 +0200
committerMarek Olšák <[email protected]>2015-06-05 19:44:32 +0200
commite8b040477e271324a88d35c003775337848a500c (patch)
tree4b100fbc1bbc4cfab94bd58ac3876ecd85ed0ad8 /src/mesa/main/context.c
parent3d16b5af1dca889ccc3716470f38c1fa84713f26 (diff)
mesa: remove unused geometry shader variables
These states are for GS assembly shaders only. We don't support those. Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 8a59b5ed42f..db494ca73cc 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1331,7 +1331,6 @@ _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_geomprog(ctx, &ctx->GeometryProgram.Current, NULL);
_mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current, NULL);
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL);