mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 02:47:14 +00:00
Remove DWORD from tesselator TLS storage
This commit is contained in:
parent
96a7519f5d
commit
344921bb26
|
|
@ -24,7 +24,7 @@ int normal;
|
|||
|
||||
|
||||
*/
|
||||
DWORD Tesselator::tlsIdx = TlsAlloc();
|
||||
unsigned int Tesselator::tlsIdx = TlsAlloc();
|
||||
|
||||
Tesselator *Tesselator::getInstance()
|
||||
{
|
||||
|
|
@ -1080,4 +1080,4 @@ bool Tesselator::hasMaxVertices()
|
|||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ private:
|
|||
public:
|
||||
static void CreateNewThreadStorage(int bytes);
|
||||
private:
|
||||
static DWORD tlsIdx;
|
||||
static unsigned int tlsIdx;
|
||||
public:
|
||||
static Tesselator *getInstance();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue