Remove linear depth from texture manager again (this wasn't a good idea)

Add linear depth texture to the fixed descriptor set
This commit is contained in:
Magnus Norddahl 2024-09-08 21:18:22 +02:00
commit cc06294932
11 changed files with 16 additions and 86 deletions

View file

@ -573,13 +573,3 @@ FWrapperTexture::FWrapperTexture(int w, int h, int bits)
// todo: Initialize here.
SystemTextures.AddHardwareTexture(0, false, hwtex);
}
//==========================================================================
FSceneTexture::FSceneTexture(FSceneTextureType type) : Type(type)
{
Width = 1;
Height = 1;
auto hwtex = screen->CreateSceneTexture(this);
SystemTextures.AddHardwareTexture(0, false, hwtex);
}