mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
This now chooses the next color based on time, so it won't go wild if the framerate is unbounded. |
||
|---|---|---|
| .. | ||
| clear.c | ||
| README.txt | ||
This example code creates an SDL window and renderer, and then clears the window to a different color every frame, so you'll effectively get a window that's smoothly fading between colors.