[cairo-commit] src/cairo-xlib-surface.c
Carl Worth
cworth at kemper.freedesktop.org
Mon May 1 14:56:01 PDT 2006
src/cairo-xlib-surface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
New commits:
diff-tree 87bd00326e0b6ac2ac29939d0ab1e59d9ab05a47 (from 8dff692db6e7083633fc9b81548b0554a985fabd)
Author: Carl Worth <cworth at cworth.org>
Date: Mon May 1 14:52:25 2006 -0700
Fix silly typo from previous commit.
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index c2eeab9..91bb178 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -178,7 +178,7 @@ _CAIRO_FORMAT_DEPTH (cairo_format_t form
}
static XRenderPictFormat *
-_CAIRO_FORMAT_XRENDER_FORMAT(Display *dpy, cairo_format_t format)
+_CAIRO_FORMAT_TO_XRENDER_FORMAT(Display *dpy, cairo_format_t format)
{
int pict_format;
switch (format) {
@@ -206,8 +206,8 @@ _cairo_xlib_surface_create_similar_with_
Pixmap pix;
cairo_xlib_surface_t *surface;
int depth = _CAIRO_FORMAT_DEPTH (format);
- XRenderPictFormat *xrender_format = _CAIRO_FORMAT_XRENDER_FORMAT (dpy,
- format);
+ XRenderPictFormat *xrender_format = _CAIRO_FORMAT_TO_XRENDER_FORMAT (dpy,
+ format);
/* As a good first approximation, if the display doesn't have COMPOSITE,
* we're better off using image surfaces for all temporary operations
More information about the cairo-commit
mailing list