refactor: switch to thread_local in Chunk, PistonBaseTile, TheEndPortalTile, Compression

This commit is contained in:
Tropical
2026-03-25 14:41:08 -05:00
parent 4a1fb94600
commit 9ff2fb4fef
8 changed files with 29 additions and 103 deletions
+2 -2
View File
@@ -30,12 +30,12 @@ private:
#ifndef _LARGE_WORLDS
static Tesselator* t;
#else
static unsigned int tlsIdx;
static thread_local uint8_t* m_threadTileIds;
public:
static void CreateNewThreadStorage();
static void ReleaseThreadStorage();
static unsigned char* GetTileIdsStorage();
static uint8_t* GetTileIdsStorage();
#endif
public: