# HG changeset patch # User reimar # Date 1278358448 0 # Node ID c45b2b0d48ffdeb11efe6437e7256eb1c93663ed # Parent 0f48a746def1faff82d1e8d232865f84a372b790 Use a more sensible variable name. diff -r 0f48a746def1 -r c45b2b0d48ff libvo/vo_gl.c --- a/libvo/vo_gl.c Mon Jul 05 19:32:12 2010 +0000 +++ b/libvo/vo_gl.c Mon Jul 05 19:34:08 2010 +0000 @@ -589,8 +589,8 @@ #endif #ifdef CONFIG_GL_X11 if (glctx.type == GLTYPE_X11) { - static int wsGLXAttrib[] = {GLX_RGBA, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_DOUBLEBUFFER, None}; - XVisualInfo *vinfo=glXChooseVisual( mDisplay,mScreen,wsGLXAttrib ); + static int default_glx_attribs[] = {GLX_RGBA, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_DOUBLEBUFFER, None}; + XVisualInfo *vinfo=glXChooseVisual(mDisplay, mScreen, default_glx_attribs); if (vinfo == NULL) { mp_msg(MSGT_VO, MSGL_ERR, "[gl] no GLX support present\n");