On Tuesday, 14 January 2014 at 07:44:21 UTC, Mineko wrote:

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?

i've looked up in your sources on github and not found derelict initiliazation. i recommend loading glfw in relevant module with module ctor. most if non all derelict bindings has dynamic loading, don't forget to load and init derelict 'plugins' if necessary.

----------------
module window;

static this()
{
DerelictGLFW.load();
}

class Window
{
... using GLFW here ...
}
--------------

Reply via email to