Skip to content

Commit 05a5c97

Browse files
authored
Fix search path on Windows for WGPU (#1399)
* Fix search path on Windows for WGPU Closes #1398 * Fix wgpu libname in generator.json
1 parent 08f2f9d commit 05a5c97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

generator.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2373,8 +2373,8 @@
23732373
"extensionsNamespace": "Silk.NET.WebGPU.Extensions",
23742374
"nameContainer": {
23752375
"linux-x64": "libwgpu_native.so",
2376-
"win-x64": "libwgpu_native.dll",
2377-
"win-x86": "libwgpu_native.dll",
2376+
"win-x64": "wgpu_native.dll",
2377+
"win-x86": "wgpu_native.dll",
23782378
"osx-x64": "libwgpu_native.dylib",
23792379
"android": "libwgpu_native.so",
23802380
"className": "WebGPULibraryNameContainer"

src/WebGPU/Silk.NET.WebGPU/WebGPULibraryNameContainer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ internal class WebGPULibraryNameContainer : SearchPathContainer
2323
public override string[] IOS => new[] { "__Internal" };
2424

2525
/// <inheritdoc />
26-
public override string[] Windows64 => new[] { "libwgpu_native.dll" };
26+
public override string[] Windows64 => new[] { "wgpu_native.dll" };
2727

2828
/// <inheritdoc />
29-
public override string[] Windows86 => new[] { "libwgpu_native.dll" };
29+
public override string[] Windows86 => new[] { "wgpu_native.dll" };
3030
}
3131
}

0 commit comments

Comments
 (0)