mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fixed wrong name assigned to dummy texture with zero ID
Texture created with image and name set to nullptr's is named after the very first lump, it's ALTHUDCF currenty
This commit is contained in:
parent
4237e64081
commit
78bae1f166
1 changed files with 1 additions and 1 deletions
|
@ -1186,7 +1186,7 @@ void FTextureManager::Init()
|
||||||
FTexture::InitGrayMap();
|
FTexture::InitGrayMap();
|
||||||
|
|
||||||
// Texture 0 is a dummy texture used to indicate "no texture"
|
// Texture 0 is a dummy texture used to indicate "no texture"
|
||||||
auto nulltex = new FImageTexture(nullptr);
|
auto nulltex = new FImageTexture(nullptr, "");
|
||||||
nulltex->SetUseType(ETextureType::Null);
|
nulltex->SetUseType(ETextureType::Null);
|
||||||
AddTexture (nulltex);
|
AddTexture (nulltex);
|
||||||
// some special textures used in the game.
|
// some special textures used in the game.
|
||||||
|
|
Loading…
Reference in a new issue