mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-24 22:40:48 +00:00
refactor: switch to thread_local in Chunk, PistonBaseTile, TheEndPortalTile, Compression
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user