examples/renderer/19-affine-textures: blue background so you can see the cube.

This commit is contained in:
Ryan C. Gordon 2025-03-28 13:55:40 -04:00
parent 87e6d2250f
commit 5ab1aef367
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -106,7 +106,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
corners[1 + 2*i] = mat[3]*x + mat[4]*y + mat[5]*z;
}
SDL_SetRenderDrawColor(renderer, 0, 0, 0, SDL_ALPHA_OPAQUE);
SDL_SetRenderDrawColor(renderer, 0x42, 0x87, 0xf5, SDL_ALPHA_OPAQUE); // light blue background.
SDL_RenderClear(renderer);
for (i = 1; i < 7; i++) {