Remove LPVOID from game renderer update thread

This commit is contained in:
notmatthewbeshay 2026-03-10 09:34:43 +11:00
parent b59ab4a4b8
commit 8da27c59ad
2 changed files with 2 additions and 2 deletions

View file

@ -1158,7 +1158,7 @@ void GameRenderer::FinishedReassigning()
LeaveCriticalSection(&m_csDeleteStack); LeaveCriticalSection(&m_csDeleteStack);
} }
int GameRenderer::runUpdate(LPVOID lpParam) int GameRenderer::runUpdate(void *lpParam)
{ {
Minecraft *minecraft = Minecraft::GetInstance(); Minecraft *minecraft = Minecraft::GetInstance();
Vec3::CreateNewThreadStorage(); Vec3::CreateNewThreadStorage();

View file

@ -145,7 +145,7 @@ public:
#ifdef MULTITHREAD_ENABLE #ifdef MULTITHREAD_ENABLE
static C4JThread* m_updateThread; static C4JThread* m_updateThread;
static int runUpdate(LPVOID lpParam); static int runUpdate(void *lpParam);
static C4JThread::EventArray* m_updateEvents; static C4JThread::EventArray* m_updateEvents;
enum EUpdateEvents enum EUpdateEvents
{ {