Skip to content

Commit 590c813

Browse files
committed
Update texture name to avoid EnsureTextureLoaded() reloading the nulled-out texture AscensionGameDev#2561
1 parent 4b8cd59 commit 590c813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Intersect.Client.Framework/Gwen/Control/ImagePanel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public GameTexture? Texture
8181
}
8282

8383
_texture = value;
84+
_textureName = _texture?.Name;
8485
RecomputeTextureSourceBounds();
8586
if (_texture != null)
8687
{

0 commit comments

Comments
 (0)