mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 03:40:08 +00:00
wgpu: cont. fix sdl2glue on Linux
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@ import "vendor:wgpu"
|
||||
|
||||
GetSurface :: proc(instance: wgpu.Instance, window: ^sdl2.Window) -> wgpu.Surface {
|
||||
window_info: sdl2.SysWMinfo
|
||||
sdl2.GetVersion(&window_info.version)
|
||||
sdl2.VERSION(&window_info.version)
|
||||
sdl2.GetWindowWMInfo(window, &window_info)
|
||||
|
||||
if window_info.subsystem == .WAYLAND {
|
||||
|
||||
Reference in New Issue
Block a user