mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 18:54:12 +00:00
Merge pull request #4832 from bungoboingo/fix/sdl-window-bindings
Fix bindings for some window functions in SDL3
This commit is contained in:
14
vendor/sdl3/sdl3_video.odin
vendored
14
vendor/sdl3/sdl3_video.odin
vendored
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user