mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix ImGui texture usage issue
This commit is contained in:
parent
87ace28bcf
commit
aa920b5e9b
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ public sealed unsafe class MaterialTemplatePickers : IUiService
|
|||
if (texture == null)
|
||||
continue;
|
||||
var handle = _textureArraySlicer.GetImGuiHandle(texture, sliceIndex);
|
||||
if (handle == 0)
|
||||
if (handle.IsNull)
|
||||
continue;
|
||||
|
||||
var position = regionStart with { X = regionStart.X + (itemSize.X + itemSpacing) * j };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue