wgpu: update to v24.0.0

This commit is contained in:
Laytan Laats
2025-02-17 19:55:44 +01:00
parent f0b1357132
commit ae9388c013
20 changed files with 1804 additions and 1345 deletions
+4 -4
View File
@@ -11,9 +11,9 @@ GetSurface :: proc(instance: wgpu.Instance, window: glfw.WindowHandle) -> wgpu.S
return wgpu.InstanceCreateSurface(
instance,
&wgpu.SurfaceDescriptor{
nextInChain = &wgpu.SurfaceDescriptorFromWaylandSurface{
nextInChain = &wgpu.SurfaceSourceWaylandSurface{
chain = {
sType = .SurfaceDescriptorFromWaylandSurface,
sType = .SurfaceSourceWaylandSurface,
},
display = display,
surface = surface,
@@ -32,9 +32,9 @@ GetSurface :: proc(instance: wgpu.Instance, window: glfw.WindowHandle) -> wgpu.S
return wgpu.InstanceCreateSurface(
instance,
&wgpu.SurfaceDescriptor{
nextInChain = &wgpu.SurfaceDescriptorFromXlibWindow{
nextInChain = &wgpu.SurfaceSourceXlibWindow{
chain = {
sType = .SurfaceDescriptorFromXlibWindow,
sType = .SurfaceSourceXlibWindow,
},
display = display,
window = u64(window),