wgpu: update to v24.0.0

This commit is contained in:
Laytan Laats committed 2025-02-17 19:55:44 +01:00
1 parent f0b1357132
commit ae9388c013
20 files changed
+1804 -1345

No files matched your search

+2 -2
View File
@@ -14,9 +14,9 @@ GetSurface :: proc(instance: wgpu.Instance, window: ^sdl2.Window) -> wgpu.Surfac
return wgpu.InstanceCreateSurface(
instance,
&wgpu.SurfaceDescriptor{
nextInChain = &wgpu.SurfaceDescriptorFromMetalLayer{
nextInChain = &wgpu.SurfaceSourceMetalLayer{
chain = wgpu.ChainedStruct{
sType = .SurfaceDescriptorFromMetalLayer,
sType = .SurfaceSourceMetalLayer,
},
layer = rawptr(metal_layer),
},