mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
examples/renderer/19-affine-textures: blue background so you can see the cube.
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user