examples/renderer/03-lines: use a gray background.

This commit is contained in:
Ryan C. Gordon 2024-09-19 12:58:13 -04:00
parent fd0ce75e2e
commit 2e3e5abd7d
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
};
/* as you can see from this, rendering draws over whatever was drawn before it. */
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255); /* black, full alpha */
SDL_SetRenderDrawColor(renderer, 100, 100, 100, 255); /* black, full alpha */
SDL_RenderClear(renderer); /* start with a blank canvas. */
/* You can draw lines, one at a time, like these brown ones... */