summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a740efa)
raw | patch | inline | side by side (parent: a740efa)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Fri, 12 Aug 2016 07:01:57 +0000 (10:01 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Fri, 12 Aug 2016 07:01:57 +0000 (10:01 +0300) |
utils/fbtestpat.cpp | patch | blob | history |
diff --git a/utils/fbtestpat.cpp b/utils/fbtestpat.cpp
index 4fe0d41757497a3512417790d340623e61b31e52..6216c04c933152eea746761a979e7342a5dd540e 100644 (file)
--- a/utils/fbtestpat.cpp
+++ b/utils/fbtestpat.cpp
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));
-
close(fd);
return 0;