Skip to content
Permalink
Browse files
testgesture: Make the background gray.
This is so you can see it on systems that have a minimal window manager and
a black background.
  • Loading branch information
icculus committed Mar 17, 2019
1 parent 82ebe63 commit edebdeb47f1f7c1cbed1a6526f08ad7200da53b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit edebdeb

Please sign in to comment.