summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-10 10:54:50 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-10 10:54:50 +0300
commitc817d3315193b0c8067f45d7bb5375aea4279919 (patch)
treef93b245f95117a5dc2ab748afbb661ddb12787c8
parenta706f157b86e90696808025db01de99646d51a77 (diff)
fbtestpat: draw "/dev/fb0" text
-rw-r--r--utils/fbtestpat.cpp1
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));