Skip to content

Commit

Permalink
testgesture: Make the background gray.
Browse files Browse the repository at this point in the history
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 edebdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testgesture.c
Expand Up @@ -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) {
Expand Down

0 comments on commit edebdeb

Please sign in to comment.