aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 09:15:29 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commitd2b0a4ec70d93040159af0cbc15717d35812ffc5 (patch)
tree13a75d116b795d00dfb57c95248ed7768c145cb2 /tests
parentec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 (diff)
downloadexternal-libdrm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.tar.gz
external-libdrm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.tar.xz
external-libdrm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.zip
always define HAVE_CAIRO
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/util/pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util/pattern.c b/tests/util/pattern.c
index 2366b006..75a458d4 100644
--- a/tests/util/pattern.c
+++ b/tests/util/pattern.c
@@ -34,7 +34,7 @@
34 34
35#include <drm_fourcc.h> 35#include <drm_fourcc.h>
36 36
37#ifdef HAVE_CAIRO 37#if HAVE_CAIRO
38#include <cairo.h> 38#include <cairo.h>
39#include <math.h> 39#include <math.h>
40#endif 40#endif
@@ -546,7 +546,7 @@ static void fill_smpte(const struct util_format_info *info, void *planes[3],
546static void make_pwetty(void *data, unsigned int width, unsigned int height, 546static void make_pwetty(void *data, unsigned int width, unsigned int height,
547 unsigned int stride, uint32_t format) 547 unsigned int stride, uint32_t format)
548{ 548{
549#ifdef HAVE_CAIRO 549#if HAVE_CAIRO
550 cairo_surface_t *surface; 550 cairo_surface_t *surface;
551 cairo_t *cr; 551 cairo_t *cr;
552 cairo_format_t cairo_format; 552 cairo_format_t cairo_format;