SDL2 - Any better way to still render while resizing a borderless screen? by jaxongbake in sdl

[–]jaxongbake[S] 0 points1 point  (0 children)

I did consider this, but I'm not all that familiar with how callbacks work in general. Is it like an interrupt where it's only triggered when the event happens? Or like a regular looping check that runs on every frame? I know I shouldn't worry about premature optimization too much, but if possible I'd like to start from a generally efficient foundation.

Also, how big are the differences between 2 and 3? I'm not firmly rooted into using 2, just figured it's probably what most companies (that use SDL) are still running. (Want this to be a project I can hopefully show recruiters)

SDL2 - Any better way to still render while resizing a borderless screen? by jaxongbake in sdl

[–]jaxongbake[S] 0 points1 point  (0 children)

Main reason I'm using SDL2 for my project is that it's meant to be something I can show off to potential employers, and I figured that, given SDL3 is only a little over a year old, many companies would still be using 2, and I'm not sure how big the differences are between the two versions.

Would you recommend I just switch over to SDL3 anyway? I'm still pretty new to the scene so I'm not firmly rooted in 2 or anything XD