mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 00:38:06 +02:00
Replace mysterious image->depth == 32 ? 24 : image->depth with simply image->depth.
This commit is contained in:
parent
6cd6ac5a05
commit
c2696a7d8d
3 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2003-12-11 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* src/cairo_xlib_surface.c (_cairo_xlib_surface_set_image):
|
||||
Replace mysterious image->depth == 32 ? 24 : image->depth with
|
||||
simply image->depth.
|
||||
|
||||
2003-12-11 Carl Worth <cworth@east.isi.edu>
|
||||
|
||||
* cairo.pc.in (Requires):
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ _cairo_xlib_surface_set_image (void *abstract_surface,
|
|||
|
||||
ximage = XCreateImage (surface->dpy,
|
||||
DefaultVisual(surface->dpy, DefaultScreen(surface->dpy)),
|
||||
image->depth == 32 ? 24 : image->depth,
|
||||
image->depth,
|
||||
ZPixmap,
|
||||
0,
|
||||
image->data,
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ _cairo_xlib_surface_set_image (void *abstract_surface,
|
|||
|
||||
ximage = XCreateImage (surface->dpy,
|
||||
DefaultVisual(surface->dpy, DefaultScreen(surface->dpy)),
|
||||
image->depth == 32 ? 24 : image->depth,
|
||||
image->depth,
|
||||
ZPixmap,
|
||||
0,
|
||||
image->data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue