mirror of https://github.com/libsdl-org/SDL.git
SDL does this for you; explicit seeding is only for reproducing a specific sequence of numbers (or maybe reseeding at a later point). |
||
|---|---|---|
| .. | ||
| README.txt | ||
| primitives.c | ||
README.txt
This example creates an SDL window and renderer, and then draws some lines, rectangles and points to it every frame. This is just a quick overview of simple drawing primitives; futher examples will explore them in more detail.