From cbf9f59da02371651094249ed931d076682c892f Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Fri, 28 Nov 2025 23:18:28 +0100 Subject: [PATCH] Fix `core:math/ease` --- core/math/ease/flux.odin | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/math/ease/flux.odin b/core/math/ease/flux.odin index 137f3dff6..8a9de9636 100644 --- a/core/math/ease/flux.odin +++ b/core/math/ease/flux.odin @@ -1,6 +1,7 @@ // Flux easing used for animations package ease +import "base:intrinsics" import "core:time" Flux_Map :: struct($T: typeid) { @@ -41,8 +42,8 @@ flux_init :: proc($T: typeid, value_capacity := 8, allocator := context.allocato // delete map content flux_destroy :: proc(flux: Flux_Map($T), allocator := context.allocator, loc := #caller_location) where intrinsics.type_is_float(T) { - delete(flux.values, allocator, loc) - delete(flux.keys_to_be_deleted, allocator, loc) + delete(flux.values, loc) + delete(flux.keys_to_be_deleted, loc) } // clear map content, stops all animations