mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- one final fix.
This commit is contained in:
parent
01e05c9b70
commit
134460bae6
1 changed files with 1 additions and 2 deletions
|
@ -414,8 +414,7 @@ IHardwareTexture *FMaterial::GetLayer(int i, int translation, FTexture **pLayer)
|
|||
{
|
||||
hwtex = screen->CreateHardwareTexture();
|
||||
layer->SystemTextures.AddHardwareTexture(translation, mExpanded, hwtex);
|
||||
hwtex = tex->SystemTextures.GetHardwareTexture(translation, mExpanded);
|
||||
}
|
||||
}
|
||||
return hwtex;
|
||||
}
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in a new issue