From d3d972aa9ddf622a7a64b1eb0bd827add15a6752 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 20 Jul 2012 00:15:36 +0200 Subject: [PATCH] Fixed typo in dlopen macro. --- src/x11_egl_opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11_egl_opengl.c b/src/x11_egl_opengl.c index eaefd640..0367ef40 100644 --- a/src/x11_egl_opengl.c +++ b/src/x11_egl_opengl.c @@ -309,7 +309,7 @@ static int createContext(_GLFWwindow* window, int _glfwInitOpenGL(void) { -#ifdef _GLFW_DLOPEN_LIBGL +#ifdef _GLFW_DLOPEN_LIBEGL int i; char* libEGL_names[ ] = { @@ -362,7 +362,7 @@ int _glfwInitOpenGL(void) void _glfwTerminateOpenGL(void) { // Unload libEGL.so if necessary -#ifdef _GLFW_DLOPEN_LIBGL +#ifdef _GLFW_DLOPEN_LIBEGL if (_glfwLibrary.EGL.libEGL != NULL) { dlclose(_glfwLibrary.EGL.libEGL);