From c19da21d81b5f831e68544f33697173dcb93a429 Mon Sep 17 00:00:00 2001 From: Matthew Pohlmann Date: Thu, 5 Sep 2024 21:40:15 -0700 Subject: [PATCH] Fix wgpu on Windows - missing links to ole32.lib and oleaut32.lib --- vendor/wgpu/wgpu.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/wgpu/wgpu.odin b/vendor/wgpu/wgpu.odin index 691aed9ce45..ae4649aedfa 100644 --- a/vendor/wgpu/wgpu.odin +++ b/vendor/wgpu/wgpu.odin @@ -27,6 +27,8 @@ when ODIN_OS == .Windows { "system:advapi32.lib", "system:user32.lib", "system:gdi32.lib", + "system:ole32.lib", + "system:oleaut32.lib", } } 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")