1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2013-01-04 03:56:33 +01:00
parent 1aa34606e7
commit b35855cfb5

View File

@ -361,7 +361,7 @@ static int createContext(_GLFWwindow* window,
int _glfwInitOpenGL(void) int _glfwInitOpenGL(void)
{ {
#ifdef _GLFW_DLOPEN_LIBEGL #if defined(_GLFW_DLOPEN_LIBEGL)
int i; int i;
char* libEGL_names[ ] = char* libEGL_names[ ] =
{ {
@ -414,7 +414,7 @@ int _glfwInitOpenGL(void)
void _glfwTerminateOpenGL(void) void _glfwTerminateOpenGL(void)
{ {
#ifdef _GLFW_DLOPEN_LIBEGL #if defined(_GLFW_DLOPEN_LIBEGL)
if (_glfw.egl.libEGL != NULL) if (_glfw.egl.libEGL != NULL)
{ {
dlclose(_glfw.egl.libEGL); dlclose(_glfw.egl.libEGL);
@ -474,7 +474,7 @@ int _glfwCreateContext(_GLFWwindow* window,
void _glfwDestroyContext(_GLFWwindow* window) void _glfwDestroyContext(_GLFWwindow* window)
{ {
#if _GLFW_X11 #if defined(_GLFW_X11)
if (window->egl.visual) if (window->egl.visual)
{ {
XFree(window->egl.visual); XFree(window->egl.visual);