mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
wgpu: update to v24.0.0
This commit is contained in:
+2
-2
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user