This commit is contained in:
IntegratedQuantum 2025-04-30 15:10:37 +02:00
parent 3780814400
commit af52b392f6

View File

@ -463,7 +463,7 @@ pub const Tool = struct { // MARK: Tool
pub fn deinit(self: *const Tool) void { pub fn deinit(self: *const Tool) void {
// TODO: This is leaking textures! // TODO: This is leaking textures!
//if(self.texture) |texture| { //if(self.texture) |texture| {
//texture.deinit(); //texture.deinit();
//} //}
self.image.deinit(main.globalAllocator); self.image.deinit(main.globalAllocator);
self.tooltip.deinit(); self.tooltip.deinit();