Merge branch 'Menotdan-linux-plugin-fix'
This commit is contained in:
@@ -198,6 +198,12 @@ void ContentService::Dispose()
|
||||
Graphics::DisposeDevice();
|
||||
}
|
||||
|
||||
IAssetFactory::Collection& IAssetFactory::Get()
|
||||
{
|
||||
static Collection Factories(1024);
|
||||
return Factories;
|
||||
}
|
||||
|
||||
AssetsCache* Content::GetRegistry()
|
||||
{
|
||||
return &Cache;
|
||||
|
||||
@@ -20,11 +20,7 @@ public:
|
||||
/// <summary>
|
||||
/// Gets the all registered assets factories. Key is asset typename, value is the factory object.
|
||||
/// </summary>
|
||||
static Collection& Get()
|
||||
{
|
||||
static Collection Factories(1024);
|
||||
return Factories;
|
||||
}
|
||||
static Collection& Get();
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user