- no, we do not want to use global variables to pass parameters around...
This commit is contained in:
parent
60aebff4a1
commit
5d94af913a
6 changed files with 14 additions and 14 deletions
|
|
@ -314,7 +314,7 @@ void gl_PrecacheTexture(uint8_t *texhitlist, TMap<PClassActor*, bool> &actorhitl
|
|||
}
|
||||
|
||||
// cache all used models
|
||||
FGLModelRenderer renderer;
|
||||
FGLModelRenderer renderer(-1);
|
||||
for (unsigned i = 0; i < Models.Size(); i++)
|
||||
{
|
||||
if (modellist[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue