mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 16:07:55 +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();
|
hwtex = screen->CreateHardwareTexture();
|
||||||
layer->SystemTextures.AddHardwareTexture(translation, mExpanded, hwtex);
|
layer->SystemTextures.AddHardwareTexture(translation, mExpanded, hwtex);
|
||||||
hwtex = tex->SystemTextures.GetHardwareTexture(translation, mExpanded);
|
}
|
||||||
}
|
|
||||||
return hwtex;
|
return hwtex;
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Reference in a new issue