From d958cadb2400e5b1dc76142796412d4979ff12e9 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 19 Oct 2025 23:52:25 -0500 Subject: [PATCH] chore(component): name bitpacked member variable --- src/component/Texture.cpp | 2 +- src/component/Texture.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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