summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-07 16:32:25 -0600
committerBrian Paul <[email protected]>2009-10-07 16:32:25 -0600
commit15f05e97aac46ffcf8a7765b0072535718833622 (patch)
tree4474133464d1dd12721ba0393aa3a4b43a531cbe /src/mesa
parentfc995c72982b5f971741986fea7aa63bb5fcbd81 (diff)
mesa: added _mesa_free_display_list_data()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/context.c1
-rw-r--r--src/mesa/main/dlist.c7
-rw-r--r--src/mesa/main/dlist.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ae91bf5f385..4d222cb0eba 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -971,6 +971,7 @@ _mesa_free_context_data( GLcontext *ctx )
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, NULL);
_mesa_free_attrib_data(ctx);
+ _mesa_free_display_list_data(ctx);
_mesa_free_lighting_data( ctx );
_mesa_free_eval_data( ctx );
_mesa_free_texture_data( ctx );
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index c1890bcbc9f..cec7d873d4a 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -9463,3 +9463,10 @@ _mesa_init_display_list(GLcontext *ctx)
_mesa_save_vtxfmt_init(&ctx->ListState.ListVtxfmt);
#endif
}
+
+
+void
+_mesa_free_display_list_data(GLcontext *ctx)
+{
+
+}
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index 589cbc5992b..f37a93a7f4b 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -106,5 +106,7 @@ _mesa_init_dlist_dispatch(struct _glapi_table *disp)
extern void _mesa_init_display_list( GLcontext * ctx );
+extern void _mesa_free_display_list_data(GLcontext *ctx);
+
#endif /* DLIST_H */