mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-16 21:12:54 +00:00
Remove DWORD from chunk TLS storage
This commit is contained in:
parent
529ecb8185
commit
96a7519f5d
|
|
@ -20,7 +20,7 @@
|
|||
int Chunk::updates = 0;
|
||||
|
||||
#ifdef _LARGE_WORLDS
|
||||
DWORD Chunk::tlsIdx = TlsAlloc();
|
||||
unsigned int Chunk::tlsIdx = TlsAlloc();
|
||||
|
||||
void Chunk::CreateNewThreadStorage()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ private:
|
|||
#ifndef _LARGE_WORLDS
|
||||
static Tesselator *t;
|
||||
#else
|
||||
static DWORD tlsIdx;
|
||||
static unsigned int tlsIdx;
|
||||
public:
|
||||
static void CreateNewThreadStorage();
|
||||
static void ReleaseThreadStorage();
|
||||
|
|
|
|||
Loading…
Reference in a new issue