summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-01 16:55:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-01 16:57:30 +0100
commit9bdfae6e218185dd9cc2770f5e7d4ca887ce4775 (patch)
tree45a07a0a57f68d229685840065f5cf3941147a57 /boilerplate
parent63bdae27a83381fb8c3786c2d7a6c2592e388ee9 (diff)
boilerplate/xcb: Fix silly cut'n'paste errors in previous commit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate-xcb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c
index d4c70be67..418e138fb 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);