Browse Source

EGL: Add support for Cygwin

Camilla Löwy 8 years ago
parent
commit
7c070f55be
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/egl_context.c

+ 4 - 0
src/egl_context.c

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