Commit graph

3 commits

Author SHA1 Message Date
Ryan C. Gordon
5216aea31d
examples: Explicitly call SDL_Init(). 2024-07-23 14:52:30 -04:00
Sam Lantinga
ff7a60db85 Minor fixes to the primitive example
* The random number generator is automatically seeded, no need for SDL_srand()
* Draw the points first, so they don't overlap the other primitives and look like broken line drawing
2024-07-23 08:34:15 -07:00
Ryan C. Gordon
4d8b938969
examples: Added renderer/primitives example. 2024-07-23 10:37:14 -04:00