diff options
Diffstat (limited to 'patches/tslib-1.0/tests_clear_screen_at_end.diff')
-rw-r--r-- | patches/tslib-1.0/tests_clear_screen_at_end.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/tslib-1.0/tests_clear_screen_at_end.diff b/patches/tslib-1.0/tests_clear_screen_at_end.diff new file mode 100644 index 000000000..8e0a57141 --- /dev/null +++ b/patches/tslib-1.0/tests_clear_screen_at_end.diff @@ -0,0 +1,33 @@ +ts_test: clear screen on exit + +Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> +--- +# 20081124: wsa: sent upstream as RFC. + + tests/ts_calibrate.c | 1 + + tests/ts_test.c | 1 + + 2 files changed, 2 insertions(+) + +Index: tests/ts_test.c +=================================================================== +--- tests/ts_test.c.orig ++++ tests/ts_test.c +@@ -213,5 +213,6 @@ int main() + if (quit_pressed) + break; + } ++ fillrect (0, 0, xres - 1, yres - 1, 0); + close_framebuffer(); + } +Index: tests/ts_calibrate.c +=================================================================== +--- tests/ts_calibrate.c.orig ++++ tests/ts_calibrate.c +@@ -235,6 +235,7 @@ int main() + i = -1; + } + ++ fillrect (0, 0, xres - 1, yres - 1, 0); + close_framebuffer(); + return i; + } |