aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-03-12 15:00:55 -0800
committerEric Anholt <[email protected]>2011-03-12 15:11:01 -0800
commit098f9c5325de16bfb5bf8b0e93e0ec1871db4a76 (patch)
treef362a760607ac951a97c91705926f40b82cc0c27 /src/mesa/program/program.c
parent07c420a3c6799a744088f1bbe1c1a5ff157a1771 (diff)
Revert "mesa: Convert fixed function fragment program generator to GLSL IR."
This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5. There were regressions (Bug #35244) and more review has been requested.
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r--src/mesa/program/program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index ba2a8dc34f6..cfdd0da86d8 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -140,7 +140,7 @@ _mesa_free_program_data(struct gl_context *ctx)
#endif
#if FEATURE_NV_fragment_program || FEATURE_ARB_fragment_program
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL);
- _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache);
+ _mesa_delete_program_cache(ctx, ctx->FragmentProgram.Cache);
#endif
#if FEATURE_ARB_geometry_shader4
_mesa_reference_geomprog(ctx, &ctx->GeometryProgram.Current, NULL);