- moved all variables not related to the hardware renderer's texture state out of gl_info.
This commit is contained in:
parent
1fc4c9801b
commit
d01bc452ba
12 changed files with 54 additions and 61 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue