mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +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
|
// Check for brightmaps
|
||||||
if (UseBasePalette() && TexMan.HasGlobalBrightmap &&
|
if (UseBasePalette() && TexMan.HasGlobalBrightmap &&
|
||||||
UseType != ETextureType::Decal && UseType != ETextureType::MiscPatch && UseType != ETextureType::FontChar &&
|
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
|
// May have one - let's check when we use this texture
|
||||||
|
|
Loading…
Reference in a new issue