mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Don't use UE4 allocators in editor mode
This commit is contained in:
parent
f89f3fad21
commit
a94d2f3c34
@ -53,9 +53,11 @@ static void * SpineRealloc( void* ptr, size_t size ) {
|
||||
}
|
||||
|
||||
void FSpinePlugin::StartupModule() {
|
||||
#if !UE_EDITOR
|
||||
_spSetMalloc( &SpineMalloc );
|
||||
_spSetRealloc( &SpineRealloc );
|
||||
_spSetFree( FMemory::Free );
|
||||
#endif
|
||||
}
|
||||
|
||||
void FSpinePlugin::ShutdownModule() { }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user