wgpu: cont. fix sdl2glue on Linux
This commit is contained in:
1 parent
ef98aa1fe1
commit
60cd0da2ed
2 files changed
+7
-1
No files matched your search
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