mirror of https://github.com/ZDoom/qzdoom.git
- 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
|
@ -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 New Issue