[cairo-commit] boilerplate/cairo-boilerplate-xcb.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Jun 1 08:58:23 PDT 2011
boilerplate/cairo-boilerplate-xcb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 9bdfae6e218185dd9cc2770f5e7d4ca887ce4775
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Jun 1 16:55:50 2011 +0100
boilerplate/xcb: Fix silly cut'n'paste errors in previous commit
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c
index d4c70be..418e138 100644
--- a/boilerplate/cairo-boilerplate-xcb.c
+++ b/boilerplate/cairo-boilerplate-xcb.c
@@ -92,8 +92,7 @@ _cairo_boilerplate_xcb_setup_test_surface (cairo_surface_t *surface)
/* For testing purposes, tell the X server to strictly adhere to the
* Render specification.
*/
- cairo_xcb_device_debug_set_precision(cairo_surface_get_device(surface),
- PolyModePrecise);
+ cairo_xcb_device_debug_set_precision(cairo_surface_get_device(surface), 0);
}
static void
@@ -253,7 +252,7 @@ _cairo_boilerplate_xcb_create_surface (const char *name,
free (formats);
if (mode != CAIRO_BOILERPLATE_MODE_PERF)
- cairo_xcb_surface_setup_test_surface(surface);
+ _cairo_boilerplate_xcb_setup_test_surface(surface);
xtc->device = cairo_device_reference (cairo_surface_get_device (surface));
status = cairo_surface_set_user_data (surface, &xcb_closure_key, xtc, NULL);
More information about the cairo-commit
mailing list