mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +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();
|
||||
|
||||
// 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);
|
||||
AddTexture (nulltex);
|
||||
// some special textures used in the game.
|
||||
|
|
Loading…
Reference in a new issue