Browse Source

Merge pull request #4205 from Valakor/wgpu

Fix wgpu on Windows - missing links to ole32.lib and oleaut32.lib
gingerBill 11 months ago
parent
commit
90358f97d5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vendor/wgpu/wgpu.odin

+ 2 - 0
vendor/wgpu/wgpu.odin

@@ -27,6 +27,8 @@ when ODIN_OS == .Windows {
 		"system:advapi32.lib",
 		"system:advapi32.lib",
 		"system:user32.lib",
 		"system:user32.lib",
 		"system:gdi32.lib",
 		"system:gdi32.lib",
+		"system:ole32.lib",
+		"system:oleaut32.lib",
 	}
 	}
 } else when ODIN_OS == .Darwin {
 } else when ODIN_OS == .Darwin {
 	@(private) ARCH :: "x86_64" when ODIN_ARCH == .amd64 else "aarch64" when ODIN_ARCH == .arm64 else #panic("unsupported WGPU Native architecture")
 	@(private) ARCH :: "x86_64" when ODIN_ARCH == .amd64 else "aarch64" when ODIN_ARCH == .arm64 else #panic("unsupported WGPU Native architecture")