Haha, I should have read more carefully. Must have looked at that
line in the doc a dozed times and never picked up on that detail.
Your example worked for me - I wasn't calling "glfwPollEvents."
Thanks!
On Saturday, 24 May 2014 at 13:31:46 UTC, Vlad Levenfeld wrote:
Any attempt to set callbacks in GLFW returns a null and the
callback doesn't work.
The first enforcement fails in this example:
DerelictGLFW3.load ();
enforce (glfwSetErrorCallback (&error_callback));
enforce (glfwInit (), "glfwIn
On 5/24/14, Vlad Levenfeld via Digitalmars-d-learn
wrote:
> Any attempt to set callbacks in GLFW returns a null and the
> callback doesn't work.
>
> The first enforcement fails in this example:
>
> DerelictGLFW3.load ();
> enforce (glfwSetErrorCallback (&error_callback));
It's ok if this fails be
Any attempt to set callbacks in GLFW returns a null and the
callback doesn't work.
The first enforcement fails in this example:
DerelictGLFW3.load ();
enforce (glfwSetErrorCallback (&error_callback));
enforce (glfwInit (), "glfwInit failed");
window = glfwCreateWindow (screen_dims.x, screen_dim