Eliminated KRTexture::getHandle

This commit is contained in:
2022-09-21 01:02:56 -07:00
parent 5219cf0ba7
commit 4c8b8d5d35
2 changed files with 0 additions and 8 deletions

View File

@@ -146,13 +146,6 @@ void KRTexture::resize(int max_dim)
m_handle_lock.clear();
}
GLuint KRTexture::getHandle()
{
// assert(false); // TODO - Vulkan refactoring required
resetPoolExpiry(0.0f, KRTexture::TEXTURE_USAGE_NONE); // TODO - Pass through getHandle() arguements to replace extraneous resetPoolExpiry calls?
return 0;
}
void KRTexture::resetPoolExpiry(float lodCoverage, KRTexture::texture_usage_t textureUsage)
{
long current_frame = getContext().getCurrentFrame();

View File

@@ -94,7 +94,6 @@ public:
protected:
virtual bool createGPUTexture(int lod_max_dim) = 0;
GLuint getHandle();
void destroyHandles();
void destroyNewHandles();