From 1c6769bcf2c759d23db20e31068d7e58cad242c6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 14 Feb 2001 05:12:01 +0000 Subject: [PATCH] forgot to update the model code for the glmesh fixes --- include/glquake.h | 1 - source/model_alias.c | 4 ++-- source/sw_model_alias.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/glquake.h b/include/glquake.h index c2c2195..90cdc6c 100644 --- a/include/glquake.h +++ b/include/glquake.h @@ -252,7 +252,6 @@ extern lpSelTexFUNC qglSelectTexture; extern qboolean gl_mtexable; void GL_SubdivideSurface (msurface_t *fa); -void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr); void GL_DisableMultitexture(void); void GL_EnableMultitexture(void); diff --git a/source/model_alias.c b/source/model_alias.c index 7ac3e5c..eb8699d 100644 --- a/source/model_alias.c +++ b/source/model_alias.c @@ -43,7 +43,7 @@ extern char loadname[]; extern model_t *loadmodel; void *Mod_LoadAllSkins (int numskins, daliasskintype_t *pskintype, int *pskinindex); -void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr); +void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr, void *model, int size); /* ============================================================================== @@ -218,7 +218,7 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer) // // build the draw lists // - GL_MakeAliasModelDisplayLists (mod, pheader); + GL_MakeAliasModelDisplayLists (mod, pheader, buffer, com_filesize); // // move the complete, relocatable alias model to the cache diff --git a/source/sw_model_alias.c b/source/sw_model_alias.c index 5f020b6..fa7f035 100644 --- a/source/sw_model_alias.c +++ b/source/sw_model_alias.c @@ -153,7 +153,7 @@ void *Mod_LoadAllSkins (int numskins, daliasskintype_t *pskintype, int *pskinind return pskintype; } -void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr) +void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr, void *_m, int _s) { int i, j; stvert_t *pstverts;