mesa: added _mesa_free_display_list_data()
authorBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 22:32:25 +0000 (16:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 22:32:25 +0000 (16:32 -0600)
src/mesa/main/context.c
src/mesa/main/dlist.c
src/mesa/main/dlist.h

index ae91bf5f38516f5c5a92270f7aa675eec2cfa7ad..4d222cb0ebaa792b82da4b5cb1485384a311fcab 100644 (file)
@@ -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 );
index c1890bcbc9f13a91fc0f16c17215369579b146df..cec7d873d4a3199dc4b77cd8558293dfd13b3eae 100644 (file)
@@ -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)
+{
+
+}
index 589cbc5992b0e3f4f93a4d8ca49eda1d4629170c..f37a93a7f4bf4e6631bcdc1f0f72900e2b641747 100644 (file)
@@ -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 */