summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-26 16:36:46 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-26 18:50:28 +0100
commit7568edf4b1dd0f8c1b061a2bb53d593ff9d4d33d (patch)
tree4af722acb1d8b77c6eff7560a436f61a55f11891 /tests/testdisplay.c
parentae461e67e8816aa7cd80791216a839d92e04f0e5 (diff)
lib/igt_fb: setup font in igt_get_cairo_ctx
We always want the same boring one, so extract it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index c320a9c1..2b0233ea 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -284,9 +284,6 @@ static void paint_output_info(struct connector *c, struct igt_fb *fb)
igt_paint_test_pattern(cr, l_width, l_height);
- cairo_select_font_face(cr, "Helvetica",
- CAIRO_FONT_SLANT_NORMAL,
- CAIRO_FONT_WEIGHT_NORMAL);
cairo_move_to(cr, l_width / 2, l_height / 2);
/* Print connector and mode name */