mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
mesa: inline _mesa_install_dlist_vtxfmt
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
This commit is contained in:
parent
31baf7bc4d
commit
e7c543c60f
3 changed files with 2 additions and 15 deletions
|
|
@ -15091,15 +15091,6 @@ mesa_print_display_list(GLuint list)
|
|||
/***** Initialization *****/
|
||||
/**********************************************************************/
|
||||
|
||||
void
|
||||
_mesa_install_dlist_vtxfmt(struct _glapi_table *disp,
|
||||
const GLvertexformat *vfmt)
|
||||
{
|
||||
SET_CallList(disp, vfmt->CallList);
|
||||
SET_CallLists(disp, vfmt->CallLists);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialize display list state for given context.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -148,10 +148,6 @@ _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist);
|
|||
void
|
||||
_mesa_initialize_save_table(const struct gl_context *);
|
||||
|
||||
void
|
||||
_mesa_install_dlist_vtxfmt(struct _glapi_table *disp,
|
||||
const GLvertexformat *vfmt);
|
||||
|
||||
void
|
||||
_mesa_init_display_list(struct gl_context * ctx);
|
||||
|
||||
|
|
|
|||
|
|
@ -109,8 +109,8 @@ install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab,
|
|||
}
|
||||
|
||||
if (ctx->API == API_OPENGL_COMPAT) {
|
||||
_mesa_install_dlist_vtxfmt(tab, vfmt); /* glCallList / glCallLists */
|
||||
|
||||
SET_CallList(tab, vfmt->CallList);
|
||||
SET_CallLists(tab, vfmt->CallLists);
|
||||
SET_Begin(tab, vfmt->Begin);
|
||||
SET_End(tab, vfmt->End);
|
||||
SET_PrimitiveRestartNV(tab, vfmt->PrimitiveRestartNV);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue