Just to wrap up this thread, the option we went for is Option 5, and it was a full success in that:
- The antialiasing bug on Linux is fixed,
- With SDL creating the context, new display APIs like Wayland and Mir are automatically supported,
- All the SDL functionality we were already using (e.g. hardware cursors) still works.
This thread now seems to be the top google result for "openscenegraph sdl2", so just in case here's the link to code for anyone come this way: https://github.com/scrawl/openmw/blob/o ... window.cpp
OSG and SDL
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OSG and SDL
Awesome work!
How's it all looking for 0.37?
How's it all looking for 0.37?
Re: OSG and SDL
Seconded! Thanks for the update, scrawl.psi29a wrote:Awesome work!
Re: OSG and SDL
Praise scrawl!scrawl wrote: - The antialiasing bug on Linux is fixed