From 5264e83d3bfb9598a5da7c80686982e65270755b Mon Sep 17 00:00:00 2001 From: Andrei Drexler Date: Thu, 24 Aug 2023 18:57:43 +0200 Subject: [PATCH] Minor cleanup --- Quake/gl_mesh.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/Quake/gl_mesh.c b/Quake/gl_mesh.c index ec05ae450..0fb8cd578 100644 --- a/Quake/gl_mesh.c +++ b/Quake/gl_mesh.c @@ -32,29 +32,11 @@ ALIAS MODEL DISPLAY LIST GENERATION ================================================================= */ -qmodel_t *aliasmodel; -aliashdr_t *paliashdr; - -static void GL_MakeAliasModelDisplayLists_VBO (void); static void GLMesh_LoadVertexBuffer (qmodel_t *m, const aliashdr_t *hdr); /* ================ GL_MakeAliasModelDisplayLists -================ -*/ -void GL_MakeAliasModelDisplayLists (qmodel_t *m, aliashdr_t *hdr) -{ - aliasmodel = m; - paliashdr = hdr; // (aliashdr_t *)Mod_Extradata (m); - - // ericw - GL_MakeAliasModelDisplayLists_VBO (); -} - -/* -================ -GL_MakeAliasModelDisplayLists_VBO Saves data needed to build the VBO for this model on the hunk. Afterwards this is copied to Mod_Extradata. @@ -62,7 +44,7 @@ is copied to Mod_Extradata. Original code by MH from RMQEngine ================ */ -void GL_MakeAliasModelDisplayLists_VBO (void) +void GL_MakeAliasModelDisplayLists (qmodel_t *aliasmodel, aliashdr_t *paliashdr) { int i, j; int maxverts_vbo;