diff --git a/kraken/KRTexture.cpp b/kraken/KRTexture.cpp index ee0dfdb..49eb061 100755 --- a/kraken/KRTexture.cpp +++ b/kraken/KRTexture.cpp @@ -39,7 +39,6 @@ KRTexture::KRTexture(KRContext &context, std::string name) : KRResource(context, { m_current_lod_max_dim = 0; m_new_lod_max_dim = 0; - m_iHandle = 0; m_textureMemUsed = 0; m_newTextureMemUsed = 0; m_last_frame_used = 0; @@ -122,8 +121,9 @@ void KRTexture::resize(int max_dim) } 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 m_iHandle; + return 0; } void KRTexture::resetPoolExpiry(float lodCoverage, KRTexture::texture_usage_t textureUsage) diff --git a/kraken/KRTexture.h b/kraken/KRTexture.h index e315c81..5904236 100755 --- a/kraken/KRTexture.h +++ b/kraken/KRTexture.h @@ -101,8 +101,6 @@ protected: std::vector m_newHandles; std::atomic_bool m_haveNewHandles; - // TODO - Remove m_iHandle once Vulkan refactoring complete - GLuint m_iHandle; std::atomic_flag m_handle_lock; int m_current_lod_max_dim;