mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 22:34:35 +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)
|
int _glfwInitOpenGL(void)
|
||||||
{
|
{
|
||||||
#ifdef _GLFW_DLOPEN_LIBGL
|
#ifdef _GLFW_DLOPEN_LIBEGL
|
||||||
int i;
|
int i;
|
||||||
char* libEGL_names[ ] =
|
char* libEGL_names[ ] =
|
||||||
{
|
{
|
||||||
@ -362,7 +362,7 @@ int _glfwInitOpenGL(void)
|
|||||||
void _glfwTerminateOpenGL(void)
|
void _glfwTerminateOpenGL(void)
|
||||||
{
|
{
|
||||||
// Unload libEGL.so if necessary
|
// Unload libEGL.so if necessary
|
||||||
#ifdef _GLFW_DLOPEN_LIBGL
|
#ifdef _GLFW_DLOPEN_LIBEGL
|
||||||
if (_glfwLibrary.EGL.libEGL != NULL)
|
if (_glfwLibrary.EGL.libEGL != NULL)
|
||||||
{
|
{
|
||||||
dlclose(_glfwLibrary.EGL.libEGL);
|
dlclose(_glfwLibrary.EGL.libEGL);
|
||||||
|
Loading…
Reference in New Issue
Block a user