Doug Binks

Results 293 comments of Doug Binks

I see you are using CMake for your project build configuration, in which case you may want to look at: https://github.com/juliettef/GLFW-CMake-starter This pulls GLFW source from Github as a subproject,...

If you are still having the same problem then one possibility is that in between `glfwInit()` and the window creation call something is overwriting the gflw data structure. If so...

This error shouldn't occur because you didn't link a library, since the library and its functions are loaded directly by GFLW. You might have a buffer overflow (or similar) which...

Does `_glfw.wgl.MakeCurrent` get set to a non zero value in the `_glfwInitWGL(void)` function? If so then I think you should be able to use AppVerifier (as above) with CLion. It...

Another thought is that you might somehow have more than one copy of GLFW loaded, for example if you link to a static version of GLFW in the executable and...

Thinking a bit more about it, multiple GLFWs are unlikely to be the problem, as `glfwCreateWindow` calls `_GLFW_REQUIRE_INIT_OR_RETURN(NULL);` and so would exit returning `NULL` rather than dereferencing a `NULL` pointer...

I understand your issue but simply removing C from the description isn't helpful. enkiTS provides a C interface to the library so it can be used from C programs. I...

You've changed some of the pre-existing defines for the DPAD, which could cause issues (for example if someone serializes out their input assignment and updates GLFW). I'd recommend moving the...

Currently the video mode is integer only.

This error is [`GLFW_INVALID_ENUM`](https://www.glfw.org/docs/latest/group__errors.html#ga76f6bb9c4eea73db675f096b404593ce). This is because the hint `GLFW_CONTEXT_CREATION_API` is a Window Hint, so you should use: ```C glfwWindowHint( GLFW_CONTEXT_CREATION_API, GLFW_OSMESA_CONTEXT_API ); ``` After initializing and before window creation.