OSG and SDL

Everything about development and the OpenMW source code.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: OSG and SDL

Post by scrawl »

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
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OSG and SDL

Post by psi29a »

Awesome work! :)

How's it all looking for 0.37? ;)
Ascent
Posts: 39
Joined: 28 Jun 2014, 04:32

Re: OSG and SDL

Post by Ascent »

psi29a wrote:Awesome work! :)
Seconded! Thanks for the update, scrawl. :)
User avatar
raevol
Posts: 3093
Joined: 07 Aug 2011, 01:12
Location: Caldera

Re: OSG and SDL

Post by raevol »

scrawl wrote: - The antialiasing bug on Linux is fixed
Praise scrawl!
HiPhish
Posts: 323
Joined: 02 Jul 2012, 08:36

Re: OSG and SDL

Post by HiPhish »

Hardware-cursor hooray!
Post Reply