From edebdeb47f1f7c1cbed1a6526f08ad7200da53b6 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 17 Mar 2019 12:45:19 -0400 Subject: [PATCH] testgesture: Make the background gray. This is so you can see it on systems that have a minimal window manager and a black background. --- test/testgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testgesture.c b/test/testgesture.c index 397239f3f..90e72126d 100644 --- a/test/testgesture.c +++ b/test/testgesture.c @@ -134,7 +134,7 @@ DrawScreen(SDL_Window *window) return; } - SDL_FillRect(screen, NULL, 0); + SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 75, 75, 75)); /* draw Touch History */ for (i = eventWrite; i < eventWrite + EVENT_BUF_SIZE; ++i) {