On Wednesday, 28 January 2015 at 04:11:20 UTC, Vadim Lopatin
On Tuesday, 27 January 2015 at 19:37:44 UTC, Gan wrote:
On Saturday, 14 June 2014 at 19:40:58 UTC, Jim Hewes wrote:
Very nice, thanks. I'm looking forward to trying it out when
I can find the time. I'm not a big fan of bindings/wrappers.
This is looks fantastic. I tried the demo but I get an error:
SDL_GL_CreateContext failed: Failed creating OpenGL context
Running Mac OS 10.10.2 on 2011 Macbook Pro
Never tried it on mac.
I believe, if OpenGL context cannot be created, DlangUI SDL
backend should switch to bare SDL (sw renderer).
I would rather expect that app crashes on missing fonts.
Linux (and mac) font paths are hardcoded. Where are .ttf files
located on macos? Fast and dirty fix is possible - add paths
for a few mac fonts.
Could you please share startup logs?
As well, you can try to build w/o OpenGL - clone repository and
remove USE_OPENGL version from dub.json
All the projects in examples/ crash on OS X in functions relating
to text AFAICS.
Font locations on OS X: http://support.apple.com/en-gb/HT201722