OpenTESArena icon indicating copy to clipboard operation
OpenTESArena copied to clipboard

Upgrade to SDL3

Open afritz1 opened this issue 1 year ago • 5 comments

Low priority but would be nice to have the new quality of life improvements. This would only take a day and affects windowing and 2D rendering the most.

afritz1 avatar Nov 03 '24 15:11 afritz1

There's this on the SDL3 installation page:

(Package notes are crossed out until distros start shipping SDL3. --editor.)

So waiting is probably smart. I compiled SDL3 in WSL just because but that doesn't seem like the best way.

afritz1 avatar Nov 03 '24 16:11 afritz1

SDL3 is still preview. There are daily changes and not even a release candidate. Don't rush it. Maybe you can add a selection for video driver later? Could be interesting to change between X and Wayland.

Chatplosion avatar Jan 27 '25 11:01 Chatplosion

SDL3 is still preview. There are daily changes and not even a release candidate. Don't rush it. Maybe you can add a selection for video driver later? Could be interesting to change between X and Wayland.

That's a thing for SDL to do, not the games. There's an env variable SDL_VIDEODRIVER that you can set to x11, Wayland, etc... Games using SDL should never mangle with the underlying windowing system: that's what SDL does. That saves us from undesirable dependencies like X11 (legacy tech, mostly abandoned by now).

vanfanel avatar May 16 '25 15:05 vanfanel

I'm definitely not going to concern myself with Linux windowing systems. This upgrade is for the improved API and clarity of type names and what not, to help slightly with the engine's relevance, although imo SDL2 is still quite good and reliable.

afritz1 avatar May 16 '25 17:05 afritz1

I'm definitely not going to concern myself with Linux windowing systems. This upgrade is for the improved API and clarity of type names and what not, to help slightly with the engine's relevance, although imo SDL2 is still quite good and reliable.

I am starting to see combat and actual gameplay being implemented with recent commits, unless I am misunderstanding something.. ;)

vanfanel avatar May 16 '25 17:05 vanfanel