diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-08-10 10:54:50 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-08-10 10:54:50 +0300 |
commit | c817d3315193b0c8067f45d7bb5375aea4279919 (patch) | |
tree | f93b245f95117a5dc2ab748afbb661ddb12787c8 /utils | |
parent | a706f157b86e90696808025db01de99646d51a77 (diff) |
fbtestpat: draw "/dev/fb0" text
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fbtestpat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/fbtestpat.cpp b/utils/fbtestpat.cpp index 0538ed0..4fe0d41 100644 --- a/utils/fbtestpat.cpp +++ b/utils/fbtestpat.cpp @@ -49,6 +49,7 @@ int main(int argc, char** argv) fix.line_length); draw_test_pattern(buf); + draw_text(buf, buf.width() / 2, 0, fbdev, RGB(255, 255, 255)); for (unsigned y = 0; y < var.yres_virtual; ++y) memcpy(ptr + fix.line_length * y, buf.map(0) + buf.stride(0) * y, buf.stride(0)); |