aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-09-29 10:50:31 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-09-29 10:50:31 +0200
commiteccb548935eb83bd3d48aeb06563a88a12b40c0a (patch)
tree0614d86b92780432f972c2b0b0c8e02c9d799b72
parenta82f26f4c073c4e52904fd180406d0ae57446058 (diff)
fix box2d World_Draw not taking a pointer
-rw-r--r--vendor/box2d/box2d.odin2
1 files changed, 1 insertions, 1 deletions
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 ---