Skip to content

Commit 95f530f

Browse files
committed
bump SDL to preview-3.1.8
1 parent df5fc80 commit 95f530f

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

build.zig

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,9 @@ pub fn build(b: *std.Build) !void {
891891
Example{ .path = "examples/audio/02-simple-playback-callback/simple-playback-callback.c", .name = "simple-playback-callback" },
892892
Example{ .path = "examples/audio/03-load-wav/load-wav.c", .name = "load-wav" },
893893
Example{ .path = "examples/camera/01-read-and-draw/read-and-draw.c", .name = "read-and-draw" },
894-
Example{ .path = "examples/game/01-snake/snake.c", .name = "snake" },
895-
Example{ .path = "examples/game/02-woodeneye-008/woodeneye-008.c", .name = "woodeneye" },
896-
Example{ .path = "examples/game/03-infinite-monkeys/infinite-monkeys.c", .name = "infinite-monkeys" },
894+
Example{ .path = "examples/demo/01-snake/snake.c", .name = "snake" },
895+
Example{ .path = "examples/demo/02-woodeneye-008/woodeneye-008.c", .name = "woodeneye" },
896+
Example{ .path = "examples/demo/03-infinite-monkeys/infinite-monkeys.c", .name = "infinite-monkeys" },
897897
Example{ .path = "examples/pen/01-drawing-lines/drawing-lines.c", .name = "drawing-lines" },
898898
Example{ .path = "examples/renderer/01-clear/clear.c", .name = "clear" },
899899
Example{ .path = "examples/renderer/02-primitives/primitives.c", .name = "primitives" },
@@ -988,6 +988,7 @@ const generic_src_files = [_][]const u8{
988988

989989
// "src/dialog/dummy/SDL_dummydialog.c",
990990
"src/dialog/SDL_dialog_utils.c",
991+
"src/dialog/SDL_dialog.c",
991992

992993
"src/dynapi/SDL_dynapi.c",
993994

@@ -1008,6 +1009,11 @@ const generic_src_files = [_][]const u8{
10081009
"src/events/SDL_windowevents.c",
10091010

10101011
"src/file/SDL_iostream.c",
1012+
"src/file/SDL_asyncio.c",
1013+
1014+
"src/file/generic/SDL_asyncio_generic.c",
1015+
"src/file/io_uring/SDL_asyncio_liburing.c",
1016+
// "src/file/windows/SDL_asyncio_windows_ioring.c",
10111017

10121018
"src/filesystem/SDL_filesystem.c",
10131019
// "src/filesystem/dummy/SDL_sysfilesystem.c",
@@ -1147,6 +1153,9 @@ const generic_src_files = [_][]const u8{
11471153
"src/time/SDL_time.c",
11481154
"src/timer/SDL_timer.c",
11491155

1156+
"src/tray/SDL_tray_utils.c",
1157+
"src/tray/dummy/SDL_tray.c",
1158+
11501159
"src/video/SDL_RLEaccel.c",
11511160
"src/video/SDL_blit.c",
11521161
"src/video/SDL_blit_0.c",
@@ -1284,7 +1293,6 @@ const linux_src_files = [_][]const u8{
12841293
// "src/joystick/n3ds/SDL_sysjoystick.c",
12851294
// "src/joystick/ps2/SDL_sysjoystick.c",
12861295
// "src/joystick/psp/SDL_sysjoystick.c",
1287-
"src/joystick/steam/SDL_steamcontroller.c",
12881296
// "src/joystick/vita/SDL_sysjoystick.c",
12891297

12901298
// "src/locale/android/SDL_syslocale.c",
@@ -1345,6 +1353,8 @@ const linux_src_files = [_][]const u8{
13451353
"src/timer/unix/SDL_systimer.c",
13461354
// "src/timer/vita/SDL_systimer.c",
13471355

1356+
"src/tray/unix/SDL_tray.c",
1357+
13481358
// "src/video/android/SDL_androidclipboard.c",
13491359
// "src/video/android/SDL_androidevents.c",
13501360
// "src/video/android/SDL_androidgl.c",
@@ -1420,6 +1430,7 @@ const linux_src_files = [_][]const u8{
14201430
"src/video/wayland/SDL_waylandvideo.c",
14211431
"src/video/wayland/SDL_waylandvulkan.c",
14221432
"src/video/wayland/SDL_waylandwindow.c",
1433+
// "src/video/x11/SDL_x11xsync.c",
14231434
// "src/video/x11/SDL_x11clipboard.c",
14241435
// "src/video/x11/SDL_x11dyn.c",
14251436
// "src/video/x11/SDL_x11events.c",

build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
.paths = .{""},
99
.dependencies = .{
1010
.sdl = .{
11-
.url = "git+https://github.com/libsdl-org/SDL?ref=preview-3.1.6#78cc5c173404488d80751af226d1eaf67033bcc4",
12-
.hash = "122099f4cc54e09ca76cb1b5c9d32f6809dab17c53c0d81dbc07fb3bf52c2ac8a793",
11+
.url = "git+https://github.com/libsdl-org/SDL?ref=preview-3.1.8#22422f7748d5128135995ed34c8f8012861c7332",
12+
.hash = "122099222def404a93508de2e17e8347f4ae5c043e82f2edef0fa370586af1915c6d",
1313
},
1414
.sdl_ttf = .{
1515
.url = "git+https://github.com/libsdl-org/SDL_ttf?ref=main#767a91cc47d964e9512feae7feae0a6f3dc762f6",

0 commit comments

Comments
 (0)