aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pohlmann <matthew.pohlmann@gmail.com>2024-09-05 21:40:15 -0700
committerMatthew Pohlmann <matthew.pohlmann@gmail.com>2024-09-05 21:40:15 -0700
commitc19da21d81b5f831e68544f33697173dcb93a429 (patch)
tree3748a65b8d86fad8b771c7c022a6e9fd241d07a7
parent78506b97a3b0cc0bde9d0aed7cbe55b37963d041 (diff)
Fix wgpu on Windows - missing links to ole32.lib and oleaut32.lib
-rw-r--r--vendor/wgpu/wgpu.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/wgpu/wgpu.odin b/vendor/wgpu/wgpu.odin
index 691aed9ce..ae4649aed 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")