diff options
author | Kenneth Graunke <[email protected]> | 2014-08-27 20:14:54 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-29 22:13:37 -0700 |
commit | 941269f89c147a606787a10e41959ede98da5df6 (patch) | |
tree | e7e165b2227c04fe1ad7463073a7cdbd76cd3e9a /src/mesa/program | |
parent | ca4f0baca278310139a207d1a290db216e637119 (diff) |
mesa: Delete ctx->GeometryProgram.Cache.
The VertexProgram and FragmentProgram have a Cache member for dealing
with fixed function programs. There are no fixed function geometry
programs, so this should never have existed, and was just copy and
pasted.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index ef5bf6b1167..6e17fe65f7e 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -100,7 +100,6 @@ _mesa_init_program(struct gl_context *ctx) /* right now by default we don't have a geometry program */ _mesa_reference_geomprog(ctx, &ctx->GeometryProgram.Current, NULL); - ctx->GeometryProgram.Cache = _mesa_new_program_cache(); /* XXX probably move this stuff */ ctx->ATIFragmentShader.Enabled = GL_FALSE; @@ -121,7 +120,6 @@ _mesa_free_program_data(struct gl_context *ctx) _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL); _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache); _mesa_reference_geomprog(ctx, &ctx->GeometryProgram.Current, NULL); - _mesa_delete_program_cache(ctx, ctx->GeometryProgram.Cache); /* XXX probably move this stuff */ if (ctx->ATIFragmentShader.Current) { |