From b35855cfb57ee898bb6ca5b7af1455fcca3e4a66 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 4 Jan 2013 03:56:33 +0100 Subject: [PATCH] Formatting. --- src/egl_context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egl_context.c b/src/egl_context.c index 7e58b037..fc41f2c6 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -361,7 +361,7 @@ static int createContext(_GLFWwindow* window, int _glfwInitOpenGL(void) { -#ifdef _GLFW_DLOPEN_LIBEGL +#if defined(_GLFW_DLOPEN_LIBEGL) int i; char* libEGL_names[ ] = { @@ -414,7 +414,7 @@ int _glfwInitOpenGL(void) void _glfwTerminateOpenGL(void) { -#ifdef _GLFW_DLOPEN_LIBEGL +#if defined(_GLFW_DLOPEN_LIBEGL) if (_glfw.egl.libEGL != NULL) { dlclose(_glfw.egl.libEGL); @@ -474,7 +474,7 @@ int _glfwCreateContext(_GLFWwindow* window, void _glfwDestroyContext(_GLFWwindow* window) { -#if _GLFW_X11 +#if defined(_GLFW_X11) if (window->egl.visual) { XFree(window->egl.visual);