From 344921bb269d4be5ad7b89628836ef77c8f6a9dc Mon Sep 17 00:00:00 2001 From: notmatthewbeshay <92357869+NotMachow@users.noreply.github.com> Date: Tue, 10 Mar 2026 09:37:47 +1100 Subject: [PATCH] Remove DWORD from tesselator TLS storage --- Minecraft.Client/Rendering/Tesselator.cpp | 4 ++-- Minecraft.Client/Rendering/Tesselator.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Minecraft.Client/Rendering/Tesselator.cpp b/Minecraft.Client/Rendering/Tesselator.cpp index e1c7373b3..f4b12390c 100644 --- a/Minecraft.Client/Rendering/Tesselator.cpp +++ b/Minecraft.Client/Rendering/Tesselator.cpp @@ -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 -} \ No newline at end of file +} diff --git a/Minecraft.Client/Rendering/Tesselator.h b/Minecraft.Client/Rendering/Tesselator.h index 6c0f30a23..59960873c 100644 --- a/Minecraft.Client/Rendering/Tesselator.h +++ b/Minecraft.Client/Rendering/Tesselator.h @@ -38,7 +38,7 @@ private: public: static void CreateNewThreadStorage(int bytes); private: - static DWORD tlsIdx; + static unsigned int tlsIdx; public: static Tesselator *getInstance();