Parcourir la source

fix box2d World_Draw not taking a pointer

Laytan Laats il y a 10 mois
Parent
commit
eccb548935
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      vendor/box2d/box2d.odin

+ 1 - 1
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 ---