mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Accidentally tried looking for an .so lib on Windows
Oops Nr.2
This commit is contained in:
parent
9f502500a2
commit
36864b10f3
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue