diff options
author | Kristian Høgsberg <[email protected]> | 2010-04-22 12:40:47 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-04-22 13:43:28 -0400 |
commit | fa416106307dc193e2133aa6a29b9bcfc91f8b39 (patch) | |
tree | 6669b9d7b0c9299143341050bbd58482dd4e51e0 /src/mesa/main/dlist.h | |
parent | ade150d66724259119012420068fa930807311c2 (diff) |
mesa: Move struct _glapi_table allocation out of context.c
We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
Diffstat (limited to 'src/mesa/main/dlist.h')
-rw-r--r-- | src/mesa/main/dlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index f37a93a7f4b..f8255facc5e 100644 --- a/src/mesa/main/dlist.h +++ b/src/mesa/main/dlist.h @@ -72,7 +72,7 @@ extern void _mesa_delete_list(GLcontext *ctx, struct gl_display_list *dlist); extern void _mesa_save_vtxfmt_init( GLvertexformat *vfmt ); -extern void _mesa_init_save_table( struct _glapi_table *table ); +extern struct _glapi_table *_mesa_create_save_table(void); extern void _mesa_install_dlist_vtxfmt(struct _glapi_table *disp, const GLvertexformat *vfmt); |