disable all demos for premake4 iOS build (it only compiles HelloWorld, Benchmark and UnitTest for now)
add btAlignedFree to deleteCriticalSection
This commit is contained in:
@@ -166,7 +166,9 @@ end
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not _OPTIONS["without-demos"] then
|
if not _OPTIONS["without-demos"] then
|
||||||
|
if not _OPTIONS["ios"] then
|
||||||
include "../Demos"
|
include "../Demos"
|
||||||
|
end
|
||||||
include "../Extras"
|
include "../Extras"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -449,6 +449,7 @@ void Win32ThreadSupport::deleteBarrier(btBarrier* barrier)
|
|||||||
void Win32ThreadSupport::deleteCriticalSection(btCriticalSection* criticalSection)
|
void Win32ThreadSupport::deleteCriticalSection(btCriticalSection* criticalSection)
|
||||||
{
|
{
|
||||||
criticalSection->~btCriticalSection();
|
criticalSection->~btCriticalSection();
|
||||||
|
btAlignedFree(criticalSection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user