Re: [hatari-devel] SDL3 |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
> Am 06.10.2024 um 10:53 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>: > > >> Am 05.10.2024 um 20:27 schrieb Thomas Huth <th.huth@xxxxxxxxx>: >> >> Am Sat, 5 Oct 2024 10:01:36 +0200 >> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>: >> ... >>> There is a new pre-release of SDL3 (version 3.1.3). They have locked their ABI now. So I do not expect there to be more significant changes. Appended is an updated patch that converts Previous from SDL2 to SDL3. I think it will be useful for Hatari. Some parts like sdlgui.c and the CMakeLists can be taken directly. Other parts can serve as templates. >> >> Thanks, I'll keep this in mind for the point in time when we are switching >> in Hatari (likely not before SDL3 arrived in the major Linux distros). >> >> Thomas > > I was a bit too early with sending my previous patch. Appended is a new version that also takes into account that SDL_VIDEO_X11_WMCLASS is no longer available in SDL3. I followed the SDL3 migration guide on how to replace it. Btw. I used that guide in general to make sure everything works as intended. SDL3 pre-release still has some bugs but in general it works better than SDL2. > > Regards, > Andreas > <sdl3.diff> Now that SDL3 has been released I thought it is time to send another update to my patch. I think from here on there won’t be much changes. I have been running Previous with SDL3 only for quite some time now and it seems to work very well (better than SDL2). For not breaking things for those using systems with slow upgrades it would make sense to create a separate SDL3 branch. Regards, Andreas
Attachment:
sdl3.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |