aboutsummaryrefslogtreecommitdiffstats
path: root/drmtest.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-04-12 13:09:44 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-04-12 13:09:44 +0200
commit4e817452368c0ca9edb0784fef8d7155c634652f (patch)
treefbce6622180ceef6d0720612a849c904ecd270f3 /drmtest.c
parent4b29807b655e59715d0ca3256484271df63a90f9 (diff)
downloaddrminfo-4e817452368c0ca9edb0784fef8d7155c634652f.tar.gz
info rendering
Diffstat (limited to 'drmtest.c')
-rw-r--r--drmtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drmtest.c b/drmtest.c
index 7fd080e..76dc2b1 100644
--- a/drmtest.c
+++ b/drmtest.c
@@ -172,10 +172,10 @@ static void drm_draw(const char *text)
cairo_t *cr;
drm_conn_name(conn, name, sizeof(name));
- snprintf(info, sizeof(info), "%s: %dx%d, %s",
- name, mode->hdisplay, mode->vdisplay, text);
+ snprintf(info, sizeof(info), "drmtest: %dx%d at %s",
+ mode->hdisplay, mode->vdisplay, name);
cr = cairo_create(cs);
- render_test(cr, mode->hdisplay, mode->vdisplay, info);
+ render_test(cr, mode->hdisplay, mode->vdisplay, info, text);
cairo_destroy(cr);
}