[MPlayer-cvslog] r31637 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Mon Jul 5 21:34:08 CEST 2010


Author: reimar
Date: Mon Jul  5 21:34:08 2010
New Revision: 31637

Log:
Use a more sensible variable name.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Mon Jul  5 21:32:12 2010	(r31636)
+++ trunk/libvo/vo_gl.c	Mon Jul  5 21:34:08 2010	(r31637)
@@ -589,8 +589,8 @@ static int create_window(uint32_t d_widt
 #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");


More information about the MPlayer-cvslog mailing list