- moved all variables not related to the hardware renderer's texture state out of gl_info.

This commit is contained in:
Christoph Oelckers 2018-04-02 13:00:33 +02:00
commit d01bc452ba
12 changed files with 54 additions and 61 deletions

View file

@ -176,7 +176,7 @@ static bool isBright(DPSprite *psp)
{
FMaterial * tex = FMaterial::ValidateTexture(lump, false, false);
if (tex)
disablefullbright = tex->tex->gl_info.bDisableFullbright;
disablefullbright = tex->tex->bDisableFullbright;
}
return psp->GetState()->GetFullbright() && !disablefullbright;
}