EGL: Add support for Cygwin

This commit is contained in:
Camilla Löwy 2017-03-15 14:40:21 +01:00
parent 3d8aa53573
commit 7c070f55be

View File

@ -291,6 +291,8 @@ GLFWbool _glfwInitEGL(void)
"EGL.dll", "EGL.dll",
#elif defined(_GLFW_COCOA) #elif defined(_GLFW_COCOA)
"libEGL.dylib", "libEGL.dylib",
#elif defined(__CYGWIN__)
"libEGL-1.so",
#else #else
"libEGL.so.1", "libEGL.so.1",
#endif #endif
@ -609,6 +611,8 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
"libGLESv2.dll", "libGLESv2.dll",
#elif defined(_GLFW_COCOA) #elif defined(_GLFW_COCOA)
"libGLESv2.dylib", "libGLESv2.dylib",
#elif defined(__CYGWIN__)
"libGLESv2-2.so",
#else #else
"libGLESv2.so.2", "libGLESv2.so.2",
#endif #endif