Explorar o código

removed cast.

Slashscreen hai 6 meses
pai
achega
b7f37bbee5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vendor/wgpu/sdl3glue/glue_linux.odin

+ 1 - 1
vendor/wgpu/sdl3glue/glue_linux.odin

@@ -44,7 +44,7 @@ GetSurface :: proc(instance: wgpu.Instance, window: ^sdl3.Window) -> wgpu.Surfac
 				nextInChain = &wgpu.SurfaceDescriptorFromWaylandSurface {
 					chain = {sType = .SurfaceDescriptorFromWaylandSurface},
 					display = display,
-					surface = u64(w_surface),
+					surface = w_surface,
 				},
 			},
 		)