i have gone from remaking sonic using silk.net 2.17 this weekend to "i'm going to start an ARM Corte
i have gone from remaking sonic using silk.net 2.17 this weekend to "i'm going to start an ARM Cortex M0 emulator tomorrow"
DebugMessageCallback is giving me into an actual dotNet string? Tried Encoding.UTF8.GetString((byte*) Unsafe.AsPointer(ref message), length); but it is choking with encoding errors

libwgpu_native.so file is copied to the runtimes/*/libwgpu_native.so folder, but the webgpu backend can only find it if i copy it manually to the root of the build folderDebugMessageCallbackEncoding.UTF8.GetString((byte*) Unsafe.AsPointer(ref message), length); public static unsafe void EnableDebugOutput(this GL gl) {
gl.Enable(GLEnum.DebugOutput);
gl.DebugMessageCallback((source, type, id, severity, length, message, param) => {
var errorString = SilkMarshal.PtrToString(message);
Console.WriteLine($"Message from OpenGL ({type}) with severity {severity}:");
Console.WriteLine(errorString);
}, null);
}libwgpu_native.soruntimes/*/libwgpu_native.soUnhandled exception. System.IO.FileNotFoundException: Could not load from any of the possible library names! Please make sure that the library is installed and in the right place!
at Silk.NET.WebGPU.WebGPU.CreateDefaultContext(String[] n)
at Silk.NET.WebGPU.WebGPU.GetApi()