mirror of https://github.com/encounter/SDL.git
testgesture: Make the background gray.
This is so you can see it on systems that have a minimal window manager and a black background.
This commit is contained in:
parent
82ebe63f9a
commit
edebdeb47f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue