diff options
author | Uli Schlachter <psychon@znc.in> | 2011-06-24 15:59:08 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2011-06-24 15:59:08 +0200 |
commit | 77b6563c218dcff641820d2555ac93ad10a095e8 (patch) | |
tree | 2e46aefd66212d4dacdd7be21c4d8d4a8b715f3e /boilerplate | |
parent | 144c912860af6e60e1bdbeee31fe686c9c5e550d (diff) |
xcb: Use defines instead of magic numbers
render.h gives us nice descriptive names for the precise/imprecise poly modes.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate-xcb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c index 7cccbdac..8ce0e8a2 100644 --- a/boilerplate/cairo-boilerplate-xcb.c +++ b/boilerplate/cairo-boilerplate-xcb.c @@ -92,7 +92,8 @@ _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), 0); + cairo_xcb_device_debug_set_precision(cairo_surface_get_device(surface), + XCB_RENDER_POLY_MODE_PRECISE); } static void |