- replaced TexMan.operator() with two functions.
This was done to make reviewing easier, again because it is virtually impossible to search for the operators in the code. Going through this revealed quite a few places where texture animations were on but shouldn't and even more places that did not check PASLVERS, although they were preparing some paletted rendering.
This commit is contained in:
parent
3dc9eab743
commit
79a0f76801
41 changed files with 115 additions and 116 deletions
|
|
@ -80,8 +80,8 @@ void R_InitSkyMap()
|
|||
sky2texture = TexMan.CheckForTexture("-noflat-", ETextureType::Any);
|
||||
}
|
||||
|
||||
skytex1 = TexMan(sky1texture, true);
|
||||
skytex2 = TexMan(sky2texture, true);
|
||||
skytex1 = TexMan.GetTexture(sky1texture, false);
|
||||
skytex2 = TexMan.GetTexture(sky2texture, false);
|
||||
|
||||
if (skytex1 == nullptr)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue