mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-11 23:27:38 +00:00
Minor changes to fix compile error
This commit is contained in:
parent
088f6ce09e
commit
80ed9da1a6
@ -65,6 +65,8 @@ MxResult MxThread::Start(MxS32 p_stackSize, MxS32 p_flag)
|
|||||||
#else
|
#else
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
const SDL_PropertiesID props = SDL_CreateProperties();
|
const SDL_PropertiesID props = SDL_CreateProperties();
|
||||||
SDL_SetPointerProperty(props, SDL_PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER, (void*) MxThread::ThreadProc);
|
SDL_SetPointerProperty(props, SDL_PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER, (void*) MxThread::ThreadProc);
|
||||||
SDL_SetPointerProperty(props, SDL_PROP_THREAD_CREATE_USERDATA_POINTER, this);
|
SDL_SetPointerProperty(props, SDL_PROP_THREAD_CREATE_USERDATA_POINTER, this);
|
||||||
@ -75,6 +77,7 @@ MxResult MxThread::Start(MxS32 p_stackSize, MxS32 p_flag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_DestroyProperties(props);
|
SDL_DestroyProperties(props);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
result = SUCCESS;
|
result = SUCCESS;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user