Commit 39863326 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

static const

parent 4edd7a90
...@@ -236,9 +236,10 @@ int InitGLX13( vout_thread_t *p_vout ) ...@@ -236,9 +236,10 @@ int InitGLX13( vout_thread_t *p_vout )
int i_nbelem; int i_nbelem;
GLXFBConfig *p_fbconfs, fbconf; GLXFBConfig *p_fbconfs, fbconf;
XVisualInfo *p_vi; XVisualInfo *p_vi;
int p_attr[] = { GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, static const int p_attr[] = {
GLX_BLUE_SIZE, 5, GLX_DOUBLEBUFFER, True, GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, GLX_BLUE_SIZE, 5,
GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, None, }; GLX_DOUBLEBUFFER, True, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, None,
};
/* Get the FB configuration */ /* Get the FB configuration */
p_fbconfs = glXChooseFBConfig( p_sys->p_display, 0, p_attr, &i_nbelem ); p_fbconfs = glXChooseFBConfig( p_sys->p_display, 0, p_attr, &i_nbelem );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment