mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
fix: remove invalid assert in TextureManager
This commit is contained in:
parent
f44c6794e7
commit
6e8a97336c
1 changed files with 1 additions and 2 deletions
|
|
@ -297,10 +297,9 @@ internal class TextureManager : IDisposable, IServiceType, ITextureProvider, ITe
|
||||||
TextureInfo? info;
|
TextureInfo? info;
|
||||||
lock (this.activeTextures)
|
lock (this.activeTextures)
|
||||||
{
|
{
|
||||||
|
// This either is a new texture, or it had been evicted and now wants to be drawn again.
|
||||||
if (!this.activeTextures.TryGetValue(path, out info))
|
if (!this.activeTextures.TryGetValue(path, out info))
|
||||||
{
|
{
|
||||||
Debug.Assert(rethrow, "This should never run when getting outside of creator");
|
|
||||||
|
|
||||||
info = new TextureInfo();
|
info = new TextureInfo();
|
||||||
this.activeTextures.Add(path, info);
|
this.activeTextures.Add(path, info);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue