mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +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);
|
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();
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue