diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-06-07 03:29:54 +0900 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-06-07 03:29:54 +0900 |
| commit | 44e4036a74e0be8e960bc30a77b57fa6f44bea72 (patch) | |
| tree | 54811f7a5b823559fd2166c5ac74cdeca938f9d7 /src/cairo-tests/mask.cpp | |
| parent | 79c8e88722f523363abeef95d2a4ce1511fc80d8 (diff) | |
| parent | 49500c1a630e8df30ae2ba189c8d982bf2d6fac6 (diff) | |
Merge pull request #86 from Samsung/Issue_77
Add ENABLE_CAIRO option to permit building caskbench without Cairo support.
ref: https://github.com/Samsung/caskbench/issues/77
Diffstat (limited to 'src/cairo-tests/mask.cpp')
| -rw-r--r-- | src/cairo-tests/mask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-tests/mask.cpp b/src/cairo-tests/mask.cpp index 7213bec..feb1db1 100644 --- a/src/cairo-tests/mask.cpp +++ b/src/cairo-tests/mask.cpp @@ -46,9 +46,9 @@ ca_setup_mask(caskbench_context_t *ctx) /* use gl surface as mask */ mask = cairo_pattern_create_for_surface (cairo_surface); } -#else - mask = cairo_pattern_create_for_surface (stippled); + else #endif + mask = cairo_pattern_create_for_surface (stippled); cairo_pattern_set_extend (mask, CAIRO_EXTEND_REPEAT); cairo_pattern_set_filter (mask, CAIRO_FILTER_NEAREST); |