mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user