mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-13 14:47:13 +00:00
Remove LPVOID from game renderer update thread
This commit is contained in:
parent
b59ab4a4b8
commit
8da27c59ad
|
|
@ -1158,7 +1158,7 @@ void GameRenderer::FinishedReassigning()
|
|||
LeaveCriticalSection(&m_csDeleteStack);
|
||||
}
|
||||
|
||||
int GameRenderer::runUpdate(LPVOID lpParam)
|
||||
int GameRenderer::runUpdate(void *lpParam)
|
||||
{
|
||||
Minecraft *minecraft = Minecraft::GetInstance();
|
||||
Vec3::CreateNewThreadStorage();
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ public:
|
|||
|
||||
#ifdef MULTITHREAD_ENABLE
|
||||
static C4JThread* m_updateThread;
|
||||
static int runUpdate(LPVOID lpParam);
|
||||
static int runUpdate(void *lpParam);
|
||||
static C4JThread::EventArray* m_updateEvents;
|
||||
enum EUpdateEvents
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue