mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-06 09:07:05 +00:00
SDL does this for you; explicit seeding is only for reproducing a specific sequence of numbers (or maybe reseeding at a later point).
This example creates an SDL window and renderer, and then draws a something roughly like a Christmas tree with nothing but lines, every frame.