[cairo-commit] cairo/src cairo_xlib_surface.c,1.12,1.13

Carl Worth commit at pdx.freedesktop.org
Thu Dec 11 10:01:12 PST 2003


Committed by: cworth

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

Modified Files:
	cairo_xlib_surface.c 
Log Message:

        * src/cairo_xlib_surface.c (_cairo_xlib_surface_set_image):
        Replace mysterious image->depth == 32 ? 24 : image->depth with
        simply image->depth.


Index: cairo_xlib_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xlib_surface.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** cairo_xlib_surface.c	5 Dec 2003 18:47:42 -0000	1.12
--- cairo_xlib_surface.c	11 Dec 2003 18:01:10 -0000	1.13
***************
*** 258,262 ****
      ximage = XCreateImage (surface->dpy,
  			   DefaultVisual(surface->dpy, DefaultScreen(surface->dpy)),
! 			   image->depth == 32 ? 24 : image->depth,
  			   ZPixmap,
  			   0,
--- 258,262 ----
      ximage = XCreateImage (surface->dpy,
  			   DefaultVisual(surface->dpy, DefaultScreen(surface->dpy)),
! 			   image->depth,
  			   ZPixmap,
  			   0,





More information about the cairo-commit mailing list