Browse Source

Use `[^]` on `PeepEvents`

gingerBill 4 years ago
parent
commit
ad943f0189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/sdl2/sdl_events.odin

+ 1 - 1
vendor/sdl2/sdl_events.odin

@@ -482,7 +482,7 @@ GetEventState :: #force_inline proc "c" (type: EventType) -> u8 { return EventSt
 @(default_calling_convention="c", link_prefix="SDL_")
 foreign lib {
 	PumpEvents       :: proc() ---
-	PeepEvents       :: proc(event: ^Event, numevents: c.int, action: eventaction, minType, maxType: EventType) -> c.int ---
+	PeepEvents       :: proc(events: [^]Event, numevents: c.int, action: eventaction, minType, maxType: EventType) -> c.int ---
 	HasEvent         :: proc(type: EventType) -> bool ---
 	HasEvents        :: proc(minType, maxType: EventType) -> bool ---
 	FlushEvent       :: proc(type: EventType) ---