diff options
author | Brian Paul <[email protected]> | 2013-04-23 09:19:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-23 21:12:25 -0600 |
commit | cab19eced5aae4092143fcb01b4659a347156fc6 (patch) | |
tree | e7afd0a4e70219802ec3b1404bbca4144c8daf02 | |
parent | 71ee0030417c644342b6e2555463b5bc6ca38ed0 (diff) |
mesa: make _mesa_save_vtxfmt_init() static
It's called from nowhere else.
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/mesa/main/dlist.c | 6 | ||||
-rw-r--r-- | src/mesa/main/dlist.h | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 89af17c1e9e..9852f530d0e 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -9547,8 +9547,8 @@ mesa_print_display_list(GLuint list) /***** Initialization *****/ /**********************************************************************/ -void -_mesa_save_vtxfmt_init(GLvertexformat * vfmt) +static void +save_vtxfmt_init(GLvertexformat * vfmt) { _MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_); @@ -9673,7 +9673,7 @@ _mesa_init_display_list(struct gl_context *ctx) /* Display List group */ ctx->List.ListBase = 0; - _mesa_save_vtxfmt_init(&ctx->ListState.ListVtxfmt); + save_vtxfmt_init(&ctx->ListState.ListVtxfmt); } diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index 2722e0620fb..f2192a71950 100644 --- a/src/mesa/main/dlist.h +++ b/src/mesa/main/dlist.h @@ -71,8 +71,6 @@ extern GLint _mesa_dlist_alloc_opcode( struct gl_context *ctx, GLuint sz, extern void _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist); -extern void _mesa_save_vtxfmt_init( GLvertexformat *vfmt ); - extern void _mesa_initialize_save_table(const struct gl_context *); extern void _mesa_install_dlist_vtxfmt(struct _glapi_table *disp, |