From 1984d40e33aead674ba4264979cf55309fbc860f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 25 Jun 2015 01:23:23 +0200 Subject: [PATCH] Formatting. --- src/x11_window.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index 641a945c..12e61cd4 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -253,7 +253,7 @@ static GLboolean createWindow(_GLFWwindow* window, { unsigned long wamask; XSetWindowAttributes wa; - XVisualInfo* visual = _GLFW_X11_CONTEXT_VISUAL; + XVisualInfo* vi = _GLFW_X11_CONTEXT_VISUAL; // Every window needs a colormap // Create one based on the visual used by the current context @@ -261,7 +261,7 @@ static GLboolean createWindow(_GLFWwindow* window, window->x11.colormap = XCreateColormap(_glfw.x11.display, _glfw.x11.root, - visual->visual, + vi->visual, AllocNone); // Create the actual window @@ -281,10 +281,10 @@ static GLboolean createWindow(_GLFWwindow* window, _glfw.x11.root, 0, 0, wndconfig->width, wndconfig->height, - 0, // Border width - visual->depth, // Color depth + 0, // Border width + vi->depth, // Color depth InputOutput, - visual->visual, + vi->visual, wamask, &wa);