Cleanup TextureLoadThrottler

This commit is contained in:
Soreepeong 2024-03-01 00:10:58 +09:00
parent b34a901702
commit e2ed5258eb
5 changed files with 116 additions and 119 deletions

View file

@ -45,7 +45,7 @@ internal sealed class ManifestResourceSharedImmediateTexture : SharedImmediateTe
/// <inheritdoc/>
protected override void ReviveResources() =>
this.UnderlyingWrap = Service<TextureLoadThrottler>.Get().CreateLoader(
this.UnderlyingWrap = Service<TextureLoadThrottler>.Get().LoadTextureAsync(
this,
this.CreateTextureAsync,
this.LoadCancellationToken);