Browse Source

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

Ryan C. Gordon 11 months ago
parent
commit
2e3e5abd7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/renderer/03-lines/renderer-lines.c

+ 1 - 1
examples/renderer/03-lines/renderer-lines.c

@@ -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... */