Add EGL library missing error

This commit is contained in:
Camilla Berglund 2016-07-20 15:39:29 +02:00
parent 04d05fbdc2
commit 6431c26e8b

View File

@ -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);