mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 08:20:40 +00:00
precalculate smoe model specific info (wether the whole model is fullbright,
if it should have shadows, whether it should be scaled/translated (gl eyes), and the minimum lighting (player)). give a 1.9% speedup in null renderer.
This commit is contained in:
parent
b69e372589
commit
5dab7ccaf7
8 changed files with 63 additions and 40 deletions
|
@ -205,7 +205,9 @@ Mod_LoadAliasModel (model_t *mod, void *buffer, cache_allocator_t allocator)
|
|||
mod->maxs[0] = mod->maxs[1] = mod->maxs[2] = 16;
|
||||
|
||||
// build the draw lists
|
||||
GL_MakeAliasModelDisplayLists (mod, pheader, buffer, com_filesize);
|
||||
Mod_MakeAliasModelDisplayLists (mod, pheader, buffer, com_filesize);
|
||||
|
||||
Mod_FinalizeAliasModel (mod, pheader);
|
||||
|
||||
// move the complete, relocatable alias model to the cache
|
||||
end = Hunk_LowMark ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue