[cairo-commit] libglc/src glc_glx_format.c,1.6,1.7

David Reveman commit at pdx.freedesktop.org
Mon Aug 15 11:12:59 PDT 2005


Committed by: davidr

Update of /cvs/cairo/libglc/src
In directory pdx:/tmp/cvs-serv6076/src

Modified Files:
	glc_glx_format.c 
Log Message:
Don't add options when searching for specific visual

Index: glc_glx_format.c
===================================================================
RCS file: /cvs/cairo/libglc/src/glc_glx_format.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** glc_glx_format.c	3 Feb 2004 16:34:51 -0000	1.6
--- glc_glx_format.c	3 Feb 2004 17:16:39 -0000	1.7
***************
*** 257,264 ****
      templ.visualid = XVisualIDFromVisual (visual);
      mask = GLC_GLX_FORMAT_VISUALID_MASK;
!   } else
      mask = 0;
! 
!   _glc_add_options (options, &templ, &mask);
    
    return glc_glx_find_format (display, screen, mask, &templ, 0);
--- 257,264 ----
      templ.visualid = XVisualIDFromVisual (visual);
      mask = GLC_GLX_FORMAT_VISUALID_MASK;
!   } else {
      mask = 0;
!     _glc_add_options (options, &templ, &mask);
!   }
    
    return glc_glx_find_format (display, screen, mask, &templ, 0);





More information about the cairo-commit mailing list