On Tuesday, 14 January 2014 at 07:44:21 UTC, Mineko wrote:
I see, I'll have to look more into that, on a slightly
unrelated note, any idea what's going on with glfwCreateWindow,
it keeps wanting to be null while it's supposed to be an
adddress.
this.get = glfwCreateWindow(settings.width, settings.height,
toStringz(settings.title), this.monitor, this.share);
writeln(this.get);
That writeln will give me null, is it related to all this stuff?
are you using derelict for this?
do you really need fullscreen and sharing contexts? try to call
this to get non-fullscreen window without sharing
(just peronal, but also it may be a bit more readeble using UFCS
on toStringz)
this.get = glfwCreateWindow(settings.width, settings.height,
settings.title.toStringz(), null, null);
if that work for you then problem is due to sharing which may
require context(which you probably don't have or trying to share
with itself), or due to driver issues related to fullscreen mode
if on linux, but i'm unsure about the later.