mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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