From 6431c26e8b62ae1d0be09bf74a426b4b983265c9 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 20 Jul 2016 15:39:29 +0200 Subject: [PATCH] Add EGL library missing error --- src/egl_context.c | 3 +++ 1 file changed, 3 insertions(+) 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);