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;