On 16 October 2012 18:02, Jacob Carlborg <doob@me.com> wrote:
On 2012-10-16 15:29, Manu wrote:Yes, Mac OS X has X11.
Well I've not tested mac, but I'll make the Linux build work tonight,
and from that, you should be able to adapt it easily.
Does OSX have X11 libs?
Yeah, a proper Cocoa version is always nice.If there is no X11 libs for OSX, then you will need to knock up an
MFDisplay_OSX.cpp for cocoa, which should be trivial (just create a
window, then call into MFRenderer_OpenGL.cpp init, as the windows/X11
ones do).
Infact, I'd really like to have a proper cocoa version anyway... ;)
It depends on how much work it is, but I can have a look.You might also have problems with sound and input in osx, if they aren't
using the same libraries as linux. Writing the backend drivers for new
platforms is very easy, I've just never wanted to run on a mac.
I don't suppose you might like to help me out making proper support for
OSX? I'll be home on a couple of hours if we could take it offline then.
There's probably 2-3 drivers that need to be written, and some tweaks to
the typical C++ platform disambiguation nonsense at the top of Fuji.h.