Removes unused Get/SetDepthTextureBits methods
Some checks are pending
checkrefs / lfscheck (push) Waiting to run
checkrefs / checkrefs (push) Waiting to run
lint / cppcheck (push) Waiting to run
lint / copyright (push) Waiting to run
lint / jenkinsfiles (push) Waiting to run
pre-commit / build (push) Waiting to run

Methods were added in f903b83674.
Methods became unused in 12e2428495.
This commit is contained in:
Vladislav Belov 2026-06-15 00:35:04 +02:00
parent 71400e8045
commit 4259c78150
No known key found for this signature in database
GPG key ID: 353545E45DB9CCB3
2 changed files with 0 additions and 33 deletions

View file

@ -703,23 +703,6 @@ void ShadowMap::BindTo(
}
}
// Depth texture bits
int ShadowMap::GetDepthTextureBits() const
{
return m->DepthTextureBits;
}
void ShadowMap::SetDepthTextureBits(int bits)
{
if (bits != m->DepthTextureBits)
{
m->Texture.reset();
m->Width = m->Height = 0;
m->DepthTextureBits = bits;
}
}
void ShadowMap::RenderDebugBounds(Renderer::Backend::IDeviceCommandContext& deviceCommandContext)
{
// Render various shadow bounds:

View file

@ -47,22 +47,6 @@ public:
*/
void RecreateTexture();
/**
* GetDepthTextureBits: Return the number of bits to use for depth textures when
* enabled.
*
* @return depth texture bit depth
*/
int GetDepthTextureBits() const;
/**
* SetDepthTextureBits: Sets the number of bits to use for depth textures when enabled.
* Possible values are 16, 24, 32 and 0 (= use default)
*
* @param bits number of bits
*/
void SetDepthTextureBits(int bits);
/**
* SetupFrame: Configure light space for the given camera and light direction,
* create the shadow texture if necessary, etc.