Accidentally tried looking for an .so lib on Windows

Oops Nr.2
This commit is contained in:
The Stickmahn 2026-05-30 16:18:46 +02:00
parent 9f502500a2
commit 36864b10f3

View file

@ -28,10 +28,10 @@ WGPUSurface WIN_WGPU_CreateSurface(SDL_VideoDevice *_this, SDL_Window *window, W
#if defined(WGPU_STATIC)
return wgpuInstanceCreateSurface(instance, &desc);
#else
SDL_SharedObject *wgpuLib = SDL_LoadObject("libwgpu_native.so");
SDL_SharedObject *wgpuLib = SDL_LoadObject("wgpu_native.dll");
if (wgpuLib == NULL) {
SDL_SetError("Failed to load wgpu-native shared library 'libwgpu_native.so'");
SDL_SetError("Failed to load wgpu-native shared library 'wgpu_native.dll'");
goto fail;
}