mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
fix ViewportTextureWrap (#2402)
This commit is contained in:
parent
1b08d986ca
commit
0047e24031
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ internal sealed class ViewportTextureWrap : IDalamudTextureWrap, IDeferredDispos
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var t = (nint)this.srv.Get();
|
var t = (nint)this.srv.Get();
|
||||||
return t == nint.Zero ? Service<DalamudAssetManager>.Get().Empty4X4.Handle : ImTextureID.Null;
|
return t == nint.Zero ? Service<DalamudAssetManager>.Get().Empty4X4.Handle : new ImTextureID(this.srv.Get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue