diff --git a/src/component/Texture.cpp b/src/component/Texture.cpp index 8a349f7..947fd26 100644 --- a/src/component/Texture.cpp +++ b/src/component/Texture.cpp @@ -18,7 +18,7 @@ CACHEENTRY::CACHEENTRY() { this->m_fileName[0] = '\0'; this->m_refCount = 0; this->m_memHandle = 0; - this->bitsB0 = 0; + this->m_size = 0; this->m_loaded = 0; } diff --git a/src/component/Texture.hpp b/src/component/Texture.hpp index b81e125..8f1cfd8 100644 --- a/src/component/Texture.hpp +++ b/src/component/Texture.hpp @@ -24,7 +24,7 @@ class CACHEENTRY : public TSHashObject { char m_fileName[128]; uint32_t m_refCount; uint32_t m_memHandle; - uint32_t bitsB0 : 20; + uint32_t m_size : 20; uint32_t m_loaded : 1; // Member functions