Remove DWORD from tesselator TLS storage

This commit is contained in:
notmatthewbeshay 2026-03-10 09:37:47 +11:00
parent 96a7519f5d
commit 344921bb26
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ int normal;
*/ */
DWORD Tesselator::tlsIdx = TlsAlloc(); unsigned int Tesselator::tlsIdx = TlsAlloc();
Tesselator *Tesselator::getInstance() Tesselator *Tesselator::getInstance()
{ {
@ -1080,4 +1080,4 @@ bool Tesselator::hasMaxVertices()
#else #else
return false; return false;
#endif #endif
} }

View file

@ -38,7 +38,7 @@ private:
public: public:
static void CreateNewThreadStorage(int bytes); static void CreateNewThreadStorage(int bytes);
private: private:
static DWORD tlsIdx; static unsigned int tlsIdx;
public: public:
static Tesselator *getInstance(); static Tesselator *getInstance();