|
@@ -286,7 +286,9 @@ GLFWbool _glfwInitEGL(void)
|
|
int i;
|
|
int i;
|
|
const char* sonames[] =
|
|
const char* sonames[] =
|
|
{
|
|
{
|
|
-#if defined(_GLFW_WIN32)
|
|
|
|
|
|
+#if defined(_GLFW_EGL_LIBRARY)
|
|
|
|
+ _GLFW_EGL_LIBRARY,
|
|
|
|
+#elif defined(_GLFW_WIN32)
|
|
"libEGL.dll",
|
|
"libEGL.dll",
|
|
"EGL.dll",
|
|
"EGL.dll",
|
|
#elif defined(_GLFW_COCOA)
|
|
#elif defined(_GLFW_COCOA)
|
|
@@ -601,7 +603,9 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
|
const char** sonames;
|
|
const char** sonames;
|
|
const char* es1sonames[] =
|
|
const char* es1sonames[] =
|
|
{
|
|
{
|
|
-#if defined(_GLFW_WIN32)
|
|
|
|
|
|
+#if defined(_GLFW_GLESV1_LIBRARY)
|
|
|
|
+ _GLFW_GLESV1_LIBRARY,
|
|
|
|
+#elif defined(_GLFW_WIN32)
|
|
"GLESv1_CM.dll",
|
|
"GLESv1_CM.dll",
|
|
"libGLES_CM.dll",
|
|
"libGLES_CM.dll",
|
|
#elif defined(_GLFW_COCOA)
|
|
#elif defined(_GLFW_COCOA)
|
|
@@ -614,7 +618,9 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
|
};
|
|
};
|
|
const char* es2sonames[] =
|
|
const char* es2sonames[] =
|
|
{
|
|
{
|
|
-#if defined(_GLFW_WIN32)
|
|
|
|
|
|
+#if defined(_GLFW_GLESV2_LIBRARY)
|
|
|
|
+ _GLFW_GLESV2_LIBRARY,
|
|
|
|
+#elif defined(_GLFW_WIN32)
|
|
"GLESv2.dll",
|
|
"GLESv2.dll",
|
|
"libGLESv2.dll",
|
|
"libGLESv2.dll",
|
|
#elif defined(_GLFW_COCOA)
|
|
#elif defined(_GLFW_COCOA)
|
|
@@ -628,7 +634,9 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
|
};
|
|
};
|
|
const char* glsonames[] =
|
|
const char* glsonames[] =
|
|
{
|
|
{
|
|
-#if defined(_GLFW_WIN32)
|
|
|
|
|
|
+#if defined(_GLFW_OPENGL_LIBRARY)
|
|
|
|
+ _GLFW_OPENGL_LIBRARY,
|
|
|
|
+#elif defined(_GLFW_WIN32)
|
|
#elif defined(_GLFW_COCOA)
|
|
#elif defined(_GLFW_COCOA)
|
|
#else
|
|
#else
|
|
"libGL.so.1",
|
|
"libGL.so.1",
|