diff --git a/src/init.c b/src/init.c index 672e01ff..c2c6caf6 100644 --- a/src/init.c +++ b/src/init.c @@ -147,6 +147,7 @@ GLFWAPI int glfwInit(void) _glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount); if (!_glfw.monitors) { + _glfwErrorCallback(GLFW_PLATFORM_ERROR, "No monitors found"); _glfwPlatformTerminate(); return GL_FALSE; }