Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDL_Vulkan_GetInstanceExtensions #12

Merged
merged 1 commit into from
Feb 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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