Make ImU8String not IDisposable

This commit is contained in:
Soreepeong 2025-08-08 21:27:40 +09:00
parent 5fee90085c
commit afe58dae76
15 changed files with 267 additions and 267 deletions

View file

@ -309,8 +309,8 @@ public static unsafe partial class ImGui
fixed (T* vMaxPtr = &vMax)
{
var res = ImGuiNative.DragScalar(labelPtr, dataType, vPtr, vSpeed, vMinPtr, vMaxPtr, formatPtr, flags) != 0;
label.Dispose();
format.Dispose();
label.Recycle();
format.Recycle();
return res;
}
}
@ -336,8 +336,8 @@ public static unsafe partial class ImGui
vMaxPtr,
formatPtr,
flags) != 0;
label.Dispose();
format.Dispose();
label.Recycle();
format.Recycle();
return res;
}
}
@ -362,8 +362,8 @@ public static unsafe partial class ImGui
vMaxPtr,
formatPtr,
flags) != 0;
label.Dispose();
format.Dispose();
label.Recycle();
format.Recycle();
return res;
}
}
@ -389,8 +389,8 @@ public static unsafe partial class ImGui
vMaxPtr,
formatPtr,
flags) != 0;
label.Dispose();
format.Dispose();
label.Recycle();
format.Recycle();
return res;
}
}
@ -418,9 +418,9 @@ public static unsafe partial class ImGui
formatPtr,
formatMaxPtr,
flags);
label.Dispose();
format.Dispose();
formatMax.Dispose();
label.Recycle();
format.Recycle();
formatMax.Recycle();
return res != 0;
}
}
@ -448,9 +448,9 @@ public static unsafe partial class ImGui
formatPtr,
formatMaxPtr,
flags);
label.Dispose();
format.Dispose();
formatMax.Dispose();
label.Recycle();
format.Recycle();
formatMax.Recycle();
return res != 0;
}
}