Skip to content

Commit

Permalink
Update SDL_Vulkan_GetInstanceExtensions (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
drshapeless authored Feb 22, 2025
1 parent b258f7a commit 2601638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sdl3.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1165,10 +1165,10 @@ pub const vk = struct {
}
extern fn SDL_Vulkan_UnloadLibrary() void;

pub fn getInstanceExtensions(count: *i32, maybe_names: ?[*][*:0]u8) bool {
return SDL_Vulkan_GetInstanceExtensions(count, maybe_names);
pub fn getInstanceExtensions(count: *i32) ?[*][*:0]u8 {
return SDL_Vulkan_GetInstanceExtensions(count);
}
extern fn SDL_Vulkan_GetInstanceExtensions(count: *i32, names: ?[*][*:0]u8) bool;
extern fn SDL_Vulkan_GetInstanceExtensions(count: *i32) ?[*][*:0]u8;

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

0 comments on commit 2601638

Please sign in to comment.