You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-223488 #rb jordi.rovira #tests Editor #rnx #virtualized [CL 36035608 by alexei lebedev in ue5-main branch]
34 lines
461 B
C++
34 lines
461 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MuR/BlockCompression/Miro/Miro.h"
|
|
#include "MuR/MutableMemory.h"
|
|
|
|
namespace mu
|
|
{
|
|
static int s_initialized = 0;
|
|
static int s_finalized = 0;
|
|
|
|
void Initialize()
|
|
{
|
|
if (!s_initialized)
|
|
{
|
|
s_initialized = 1;
|
|
s_finalized = 0;
|
|
|
|
miro::initialize();
|
|
}
|
|
}
|
|
|
|
void Finalize()
|
|
{
|
|
if (s_initialized && !s_finalized)
|
|
{
|
|
miro::finalize();
|
|
|
|
s_finalized = 1;
|
|
s_initialized = 0;
|
|
}
|
|
}
|
|
|
|
}
|