mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 15:27:43 +01:00
Add texture leak tracker
This commit is contained in:
parent
2572f24e08
commit
6a0f774625
14 changed files with 597 additions and 63 deletions
|
|
@ -45,13 +45,11 @@ internal sealed partial class FontAtlasFactory
|
|||
DataManager dataManager,
|
||||
Framework framework,
|
||||
InterfaceManager interfaceManager,
|
||||
DalamudAssetManager dalamudAssetManager,
|
||||
TextureManager textureManager)
|
||||
DalamudAssetManager dalamudAssetManager)
|
||||
{
|
||||
this.Framework = framework;
|
||||
this.InterfaceManager = interfaceManager;
|
||||
this.dalamudAssetManager = dalamudAssetManager;
|
||||
this.TextureManager = textureManager;
|
||||
this.SceneTask = Service<InterfaceManager.InterfaceManagerWithScene>
|
||||
.GetAsync()
|
||||
.ContinueWith(r => r.Result.Manager.Scene);
|
||||
|
|
@ -148,7 +146,7 @@ internal sealed partial class FontAtlasFactory
|
|||
/// <summary>
|
||||
/// Gets the service instance of <see cref="TextureManager"/>.
|
||||
/// </summary>
|
||||
public TextureManager TextureManager { get; }
|
||||
public TextureManager TextureManager => Service<TextureManager>.Get();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the async task for <see cref="RawDX11Scene"/> inside <see cref="InterfaceManager"/>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue