diff options
| author | RobinsAviary <robinsaviary@gmail.com> | 2025-12-05 15:16:45 -0500 |
|---|---|---|
| committer | RobinsAviary <robinsaviary@gmail.com> | 2025-12-05 15:16:45 -0500 |
| commit | 739bffac0c2d9827c84f0a13c7d8c93a3ed5d742 (patch) | |
| tree | 38c160279454f725837695b2c5e0a417a41dfdd5 | |
| parent | 404f0d6e64e04c6fe0bda80971178ff5c6b60cf4 (diff) | |
Use multi-pointer so you can pass array
| -rw-r--r-- | vendor/sdl2/sdl_messagebox.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/sdl2/sdl_messagebox.odin b/vendor/sdl2/sdl_messagebox.odin index edd8422e0..5211affd8 100644 --- a/vendor/sdl2/sdl_messagebox.odin +++ b/vendor/sdl2/sdl_messagebox.odin @@ -66,7 +66,7 @@ MessageBoxData :: struct { message: cstring, /**< UTF-8 message text */ numbuttons: c.int, - buttons: ^MessageBoxButtonData, + buttons: [^]MessageBoxButtonData, colorScheme: ^MessageBoxColorScheme, /**< ::SDL_MessageBoxColorScheme, can be NULL to use system settings */ } |