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
Ryan C. Gordon
266744af03
examples: Number examples, so they are presented in a specific order.
2024-07-23 10:12:53 -04:00
Ryan C. Gordon
23cf09163e
examples: More n3ds build fixes.
2024-07-23 01:35:15 -04:00
Ryan C. Gordon
3671497ea1
examples: Maybe fix n3ds builds.
2024-07-23 01:28:19 -04:00
Ryan C. Gordon
d2e2b9bdc9
examples: Maybe fix Android builds.
2024-07-23 01:25:29 -04:00
Ryan C. Gordon
d8d7212efd
examples: Maybe fix UWP builds.
2024-07-23 01:22:19 -04:00
Ryan C. Gordon
16535b7ee2
examples: Add CMake glue to optionally build examples, as we do for the tests.
...
In fact, most of the CMake code was stolen from the test directory.
2024-07-23 00:58:57 -04:00
Ryan C. Gordon
2038620717
examples/README: fixed typo.
2024-07-22 23:41:16 -04:00
Ryan C. Gordon
5339b4458d
examples: Added initial examples infrastructure.
2024-07-22 22:39:09 -04:00