From b069391cc0834465ab0e3e0c2d2650fcc9e8e389 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 22 Jul 2012 02:01:42 +0200 Subject: [PATCH] Formatting. --- src/x11_egl_opengl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/x11_egl_opengl.c b/src/x11_egl_opengl.c index 2484841b..c790b311 100644 --- a/src/x11_egl_opengl.c +++ b/src/x11_egl_opengl.c @@ -185,7 +185,7 @@ static int createContext(_GLFWwindow* window, { int attribs[40], visMask; EGLint count, index, visualID = 0; - EGLint red_size, green_size, blue_size, alpha_size; + EGLint redBits, greenBits, blueBits, alphaBits; EGLConfig config; EGLContext share = NULL; XVisualInfo visTemplate; @@ -230,15 +230,15 @@ static int createContext(_GLFWwindow* window, // attribute, so attempt to find the closest match. eglGetConfigAttrib(_glfwLibrary.EGL.display, config, - EGL_RED_SIZE, &red_size); + EGL_RED_SIZE, &redBits); eglGetConfigAttrib(_glfwLibrary.EGL.display, config, - EGL_GREEN_SIZE, &green_size); + EGL_GREEN_SIZE, &greenBits); eglGetConfigAttrib(_glfwLibrary.EGL.display, config, - EGL_BLUE_SIZE, &blue_size); + EGL_BLUE_SIZE, &blueBits); eglGetConfigAttrib(_glfwLibrary.EGL.display, config, - EGL_ALPHA_SIZE, &alpha_size); + EGL_ALPHA_SIZE, &alphaBits); - visTemplate.depth = red_size + green_size + blue_size + alpha_size; + visTemplate.depth = redBits + greenBits + blueBits + alphaBits; visMask |= VisualDepthMask; }