summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/fbtestpat.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/fbtestpat.cpp b/utils/fbtestpat.cpp
index 4fe0d41..6216c04 100644
--- a/utils/fbtestpat.cpp
+++ b/utils/fbtestpat.cpp
@@ -51,9 +51,6 @@ int main(int argc, char** argv)
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;