Skip to content

Commit

Permalink
Merge pull request #4832 from bungoboingo/fix/sdl-window-bindings
Browse files Browse the repository at this point in the history
Fix bindings for some window functions in SDL3
  • Loading branch information
gingerBill authored Feb 12, 2025
2 parents 584fdc0 + 9bf0b38 commit 4c4b481
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions vendor/sdl3/sdl3_video.odin
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,13 @@ foreign lib {
GetCurrentDisplayMode :: proc(displayID: DisplayID) -> ^DisplayMode ---
GetDisplayForPoint :: proc(#by_ptr point: Point) -> DisplayID ---
GetDisplayForRect :: proc(#by_ptr rect: Rect) -> DisplayID ---
GetDisplayForWindow :: proc(window: Window) -> DisplayID ---
GetWindowPixelDensity :: proc(window: Window) -> f32 ---
GetWindowDisplayScale :: proc(window: Window) -> f32 ---
SetWindowFullscreenMode :: proc(window: Window, #by_ptr mode: DisplayMode) -> bool ---
GetWindowFullscreenMode :: proc(window: Window) -> ^DisplayMode ---
GetWindowICCProfile :: proc(window: Window, size: ^uint) -> rawptr ---
GetWindowPixelFormat :: proc(window: Window) -> PixelFormat ---
GetDisplayForWindow :: proc(window: ^Window) -> DisplayID ---
GetWindowPixelDensity :: proc(window: ^Window) -> f32 ---
GetWindowDisplayScale :: proc(window: ^Window) -> f32 ---
SetWindowFullscreenMode :: proc(window: ^Window, #by_ptr mode: DisplayMode) -> bool ---
GetWindowFullscreenMode :: proc(window: ^Window) -> ^DisplayMode ---
GetWindowICCProfile :: proc(window: ^Window, size: ^uint) -> rawptr ---
GetWindowPixelFormat :: proc(window: ^Window) -> PixelFormat ---
GetWindows :: proc(count: ^c.int) -> [^]^Window ---
CreateWindow :: proc(title: cstring, w, h: c.int, flags: WindowFlags) -> ^Window ---
CreatePopupWindow :: proc(parent: ^Window, offset_x, offset_y: c.int, w, h: c.int, flags: WindowFlags) -> ^Window ---
Expand Down

0 comments on commit 4c4b481

Please sign in to comment.