eliemichel / sdl2webgpu

An extension for the SDL2 library for using WebGPU native.
MIT License
37 stars 5 forks source link

SDL3 Support #9

Closed sshsphere closed 3 weeks ago

sshsphere commented 4 months ago

It would be nice if this library was future-proofed for SDL3. (maybe it's better to create a new repo, I don't know)

Main difference is that In SDL3 the SDL_syswm.h header has been removed and SDL_GetWindowWMInfo is replaced with SDL_GetWindowProperties. Also the SDL_VIDEO_DRIVER_XXXX macros are deprecated, I guess SDL_GetCurrentVideoDriver and SDL_GetPlatform can be used instead. See: README-migration.md

eliemichel commented 4 months ago

I did not reply yet because I did not have the time to work on it, but I still want to say that this is indeed a good idea that I am keeping in the TODOs ;)

eliemichel commented 1 month ago

Work in progress here: https://github.com/eliemichel/sdl3webgpu missing support for MSYS for now

eliemichel commented 3 weeks ago

Done.