diff --git a/src/egl_context.c b/src/egl_context.c index cda73dce..a5a9356d 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -307,7 +307,10 @@ GLFWbool _glfwInitEGL(void) } if (!_glfw.egl.handle) + { + _glfwInputError(GLFW_API_UNAVAILABLE, "EGL: Library not found"); return GLFW_FALSE; + } _glfw.egl.prefix = (strncmp(sonames[i], "lib", 3) == 0);