mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 05:24:34 +00:00
Fixed typo in dlopen macro.
This commit is contained in:
parent
251964f84f
commit
d3d972aa9d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user