Skip to content

Commit 30b1c03

Browse files
committed
SDL3: Fix SDL_Vulkan_GetInstanceExtensions decl
1 parent 5fadb18 commit 30b1c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdl3.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ pub const vk = struct {
10151015
pub fn getInstanceExtensions(count: *i32, maybe_names: ?[*][*:0]u8) bool {
10161016
return SDL_Vulkan_GetInstanceExtensions(count, maybe_names);
10171017
}
1018-
extern fn SDL_Vulkan_GetInstanceExtensions(count: *i32, names: ?[*][*]u8) bool;
1018+
extern fn SDL_Vulkan_GetInstanceExtensions(count: *i32, names: ?[*][*:0]u8) bool;
10191019

10201020
pub fn createSurface(window: *Window, instance: Instance, surface: *anyopaque) bool {
10211021
return SDL_Vulkan_CreateSurface(window, instance, surface);

0 commit comments

Comments
 (0)