aboutsummaryrefslogtreecommitdiffstats
path: root/drmtest.c
diff options
context:
space:
mode:
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);
}