diff --git a/src/component/CCharacterComponent.hpp b/src/component/CCharacterComponent.hpp index 3d8052b..d0d9fb1 100644 --- a/src/component/CCharacterComponent.hpp +++ b/src/component/CCharacterComponent.hpp @@ -64,7 +64,7 @@ class CCharacterComponent { uint32_t m_sections = 0xFFFFFFFF; ComponentData m_data; HTEXTURE m_baseTexture = nullptr; - CACHEENTRY* m_texture[NUM_COMPONENT_VARIATIONS * 3] = {}; + void* m_texture[NUM_COMPONENT_VARIATIONS * 3] = {}; // Member functions void CreateBaseTexture(); diff --git a/src/component/Texture.cpp b/src/component/Texture.cpp index 778fea1..ab220f7 100644 --- a/src/component/Texture.cpp +++ b/src/component/Texture.cpp @@ -30,7 +30,7 @@ CACHEENTRY* TextureCacheAllocEntry() { return entry; } -CACHEENTRY* TextureCacheCreateTexture(const char* fileName) { +void* TextureCacheCreateTexture(const char* fileName) { auto hashval = SStrHash(fileName); auto texture = s_cacheTable.Ptr(hashval, s_cacheKey); diff --git a/src/component/Texture.hpp b/src/component/Texture.hpp index 6041587..711e306 100644 --- a/src/component/Texture.hpp +++ b/src/component/Texture.hpp @@ -17,7 +17,7 @@ class CACHEENTRY : public TSHashObject { void AddRef(); }; -CACHEENTRY* TextureCacheCreateTexture(const char* fileName); +void* TextureCacheCreateTexture(const char* fileName); void TextureCacheDestroyTexture(void* texture);