Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Aug 24, 2023
1 parent 3fbbe85 commit 5264e83
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Quake/gl_mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,37 +32,19 @@ 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.
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;
Expand Down

0 comments on commit 5264e83

Please sign in to comment.