From eccb548935eb83bd3d48aeb06563a88a12b40c0a Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Sun, 29 Sep 2024 10:50:31 +0200 Subject: [PATCH] fix box2d World_Draw not taking a pointer --- vendor/box2d/box2d.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/box2d/box2d.odin b/vendor/box2d/box2d.odin index c1d789273..e7da34a45 100644 --- a/vendor/box2d/box2d.odin +++ b/vendor/box2d/box2d.odin @@ -490,7 +490,7 @@ foreign lib { World_Step :: proc(worldId: WorldId, timeStep: f32 , subStepCount: c.int) --- // Call this to draw shapes and other debug draw data - World_Draw :: proc(worldId: WorldId, draw: DebugDraw) --- + World_Draw :: proc(worldId: WorldId, draw: ^DebugDraw) --- // Get the body events for the current time step. The event data is transient. Do not store a reference to this data. World_GetBodyEvents :: proc(worldId: WorldId) -> BodyEvents ---