diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-12 13:09:44 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-12 13:09:44 +0200 |
commit | 4e817452368c0ca9edb0784fef8d7155c634652f (patch) | |
tree | fbce6622180ceef6d0720612a849c904ecd270f3 /drmtest.c | |
parent | 4b29807b655e59715d0ca3256484271df63a90f9 (diff) | |
download | drminfo-4e817452368c0ca9edb0784fef8d7155c634652f.tar.gz |
info rendering
Diffstat (limited to 'drmtest.c')
-rw-r--r-- | drmtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |