소스 검색

removed cast.

Slashscreen 6 달 전
부모
커밋
b7f37bbee5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
 				},
 			},
 		)