diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-04-20 02:27:19 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-04-21 02:08:38 -0400 |
commit | cd72167ede50b44aa3559ee63b95e12e4b51d80f (patch) | |
tree | 8dc7e065b5d89b0021f007fab2bb1f65d66461e6 /test/xlib-surface.c | |
parent | 908418cb4d43e387d06698a43626ac9a663d6c2a (diff) |
[xlib] Get rid of _cairo_xlib_test_disable_render
in favor of cairo_boilerplate_xlib_surface_disable_render.
Diffstat (limited to 'test/xlib-surface.c')
-rw-r--r-- | test/xlib-surface.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/xlib-surface.c b/test/xlib-surface.c index 3b6d1b50..a1578cdb 100644 --- a/test/xlib-surface.c +++ b/test/xlib-surface.c @@ -30,7 +30,8 @@ #include "cairo-xlib.h" #include "cairo-xlib-xrender.h" #include "cairo-test.h" -#include "cairo-xlib-test.h" + +#include "cairo-boilerplate-xlib.h" #include "buffer-diff.h" @@ -123,6 +124,9 @@ do_test (Display *dpy, DefaultVisual (dpy, screen), SIZE, SIZE); + if (!use_render) + cairo_boilerplate_xlib_surface_disable_render (surface); + if (set_size) { cairo_xlib_surface_set_size (surface, SIZE, SIZE); @@ -257,8 +261,6 @@ main (void) result = status; } - _cairo_xlib_test_disable_render (); - for (set_size = 0; set_size <= 1; set_size++) for (use_pixmap = 0; use_pixmap <= 1; use_pixmap++) for (offscreen = 0; offscreen <= 1; offscreen++) { |