mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
- fix true color software crash in square and other maps
This commit is contained in:
parent
7a11be8615
commit
4870cc73e2
1 changed files with 2 additions and 1 deletions
|
@ -1079,7 +1079,8 @@ void FTexture::CreateDefaultBrightmap()
|
|||
// Check for brightmaps
|
||||
if (UseBasePalette() && TexMan.HasGlobalBrightmap &&
|
||||
UseType != ETextureType::Decal && UseType != ETextureType::MiscPatch && UseType != ETextureType::FontChar &&
|
||||
Brightmap == NULL && bWarped == 0
|
||||
Brightmap == NULL && bWarped == 0 &&
|
||||
GetPixels(DefaultRenderStyle())
|
||||
)
|
||||
{
|
||||
// May have one - let's check when we use this texture
|
||||
|
|
Loading…
Reference in a new issue