Dominus
2016-12-26 11:12:12 UTC
Hi all,
as usual, I'm having problems with Exult (http://exult.sf.net).
The usual way to run Exult is that it uses a surface on the native video driver.
We have however a map building Gtk app (Exult Studio) that needs X11 to communicate with Exult (mostly for drag'n' drop - no one has ported SDL2 d'n'd yet). When we build Exult with Exult Studio support it means that Exult will run in X11 on OS X. This worked and still works with SDL 1.2x but is broken with SDL2. On OS X only, it works just fine on Linux.
On OS X it displays a "Couldn't create window: No OpenGL support in video driver".
I've tinkered with everything that I could think of, instead of pointing at the pre-built Xquartz, I've built it in MacPorts and pointed at that. Tried different SDL2 built options (SDL2 configure usually displays
Video drivers : dummy cocoa x11(dynamic) opengl opengl).
It seems to me as if there is something broken with SDL2 + X11 + OS X, possibly a requirement of SDL2 on OS X that the Xquartz pre-built or MacPorts don't provide.
Does anyone have a simple testcase for X11 that I can use? Exult is a bit much to use as a testcase and too many factors that could be a problem.
as usual, I'm having problems with Exult (http://exult.sf.net).
The usual way to run Exult is that it uses a surface on the native video driver.
We have however a map building Gtk app (Exult Studio) that needs X11 to communicate with Exult (mostly for drag'n' drop - no one has ported SDL2 d'n'd yet). When we build Exult with Exult Studio support it means that Exult will run in X11 on OS X. This worked and still works with SDL 1.2x but is broken with SDL2. On OS X only, it works just fine on Linux.
On OS X it displays a "Couldn't create window: No OpenGL support in video driver".
I've tinkered with everything that I could think of, instead of pointing at the pre-built Xquartz, I've built it in MacPorts and pointed at that. Tried different SDL2 built options (SDL2 configure usually displays
Video drivers : dummy cocoa x11(dynamic) opengl opengl).
It seems to me as if there is something broken with SDL2 + X11 + OS X, possibly a requirement of SDL2 on OS X that the Xquartz pre-built or MacPorts don't provide.
Does anyone have a simple testcase for X11 that I can use? Exult is a bit much to use as a testcase and too many factors that could be a problem.