From c817d3315193b0c8067f45d7bb5375aea4279919 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 10 Aug 2016 10:54:50 +0300 Subject: fbtestpat: draw "/dev/fb0" text --- utils/fbtestpat.cpp | 1 + 1 file changed, 1 insertion(+) 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)); -- cgit v1.2.3