- no, we do not want to use global variables to pass parameters around...

This commit is contained in:
Christoph Oelckers 2018-04-02 18:13:18 +02:00
commit 5d94af913a
6 changed files with 14 additions and 14 deletions

View file

@ -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])