summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a706f15)
raw | patch | inline | side by side (parent: a706f15)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 10 Aug 2016 07:54:50 +0000 (10:54 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 10 Aug 2016 07:54:50 +0000 (10:54 +0300) |
utils/fbtestpat.cpp | patch | blob | history |
diff --git a/utils/fbtestpat.cpp b/utils/fbtestpat.cpp
index 0538ed071a93678a52533296125ebdee57c787f0..4fe0d41757497a3512417790d340623e61b31e52 100644 (file)
--- a/utils/fbtestpat.cpp
+++ b/utils/fbtestpat.cpp
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));