3 ms·
I assume the OP recently watched the video of Ryan C. Gordon porting ioquake3 from SDL2 to SDL3 [1]. He uses the linked tool to automate a lot of the migration.
by janice1999 2y ago
I assume the OP recently watched the video of Ryan C. Gordon porting ioquake3 from SDL2 to SDL3 [1]. He uses the linked tool to automate a lot of the migration. SDL3 ships with a Coccinelle file [2] to handle all the Enum and API renames and it also comments areas that need manual fixing.
[1] https://ioquake3.org/ioquake3/ryan-c-gordon-ports-ioquake3-from-sdl2-to-sdl3-in-90-minutes/ https://ioquake3.org/ioquake3/ryan-c-gordon-ports-ioquake3-f...
[2] https://github.com/libsdl-org/SDL/blob/main/build-scripts/SDL_migration.cocci https://github.com/libsdl-org/SDL/blob/main/build-scripts/SD...